TeNPy Logo
v0.7.2

User guide

  • Installation instructions
    • Installation with conda from conda-forge
    • Installation from PyPi with pip
      • Preparation: install requirements
      • Installing the latest stable TeNPy package
      • Installation of the latest version from Github
      • Installation from the downloaded source folder
      • Uninstalling a pip-installed version
    • Updating to a new version
      • When installed with conda
      • When installed with pip
      • When installed from source
    • Installation from source
      • Minimal Requirements
      • Getting the source
      • Minimal installation: Including tenpy into PYTHONPATH
      • Compilation of np_conserved
    • Extra requirements
      • Matplotlib
      • Intel’s Math Kernel Library (MKL)
      • HDF5 file format support
      • YAML parameter files
        • Tests
    • Checking the installation
    • TeNPy developer team
    • License
  • Release Notes
    • [0.7.2] - 2020-10-09
      • Release Notes
      • Changelog
        • Backwards incompatible changes
        • Added
        • Fixed
    • [0.7.1] - 2020-09-04
      • Release Notes
    • [0.7.0] - 2020-09-04
      • Release Notes
      • Changelog
        • Backwards incompatible changes
        • Added
        • Changed
        • Fixed
    • [0.6.1] - 2020-05-18
      • Release Notes
    • [0.6.0] - 2020-05-16
      • Release Notes
      • Changelog
        • Backwards incompatible changes
        • Added
        • Changed
        • Fixed
    • [0.5.0] - 2019-12-18
      • Backwards incompatible changes
      • Changed
      • Added
      • Fixed
    • [0.4.1] - 2019-08-14
      • Backwards incompatible changes
      • Changed
      • Added
      • Fixed
    • [0.4.0] - 2019-04-28
      • Backwards incompatible changes
      • Added
      • Changed
      • Fixed
      • Removed
    • [0.3.0] - 2018-02-19
      • Added
      • Changed
      • Removed
    • [0.2.0] - 2017-02-24
    • Changes compared to previous TeNPy
      • Global Changes
      • np_conserved
      • TEBD
      • DMRG
      • Tools
  • Introductions
    • Overview
      • Repository
      • Code structure: getting started
        • Most basic level: linear algebra
        • Sites for the local Hilbert space and tensor networks
        • Models
        • Algorithms
    • Charge conservation with np_conserved
      • Notations
      • Physical Example
      • The different formats for LegCharge
      • Which entries of the npc Array can be non-zero?
      • The pesky qconj - contraction as an example
      • Assigning charges to non-physical legs
      • Array creation
      • Complete blocking of Charges
      • Internal Storage schema of npc Arrays
      • Indexing of an Array
      • Introduction to combine_legs, split_legs and LegPipes
      • Leg labeling
      • See also
      • A full example code for spin-1/2
    • Models
      • What is a model?
      • The Hilbert space
      • The geometry : lattice class
      • The CouplingModel: general structure
      • The easiest way: the CouplingMPOModel
      • Automation of Hermitian conjugation
      • Some random remarks on models
    • Details on the lattice geometry
      • Visualization
      • How an MPS winds through the lattice: the order
      • Boundary conditions
      • Irregular Lattices
    • Fermions and the Jordan-Wigner transformation
      • Spinless fermions in 1D
      • Higher dimensions
      • Spinful fermions
      • How to handle Jordan-Wigner strings in practice
    • Saving to disk: input/output
      • Using pickle
      • Using HDF5 with h5py
        • Data format specification for saving to HDF5
    • Protocol for using (i)DMRG
      • Confirming the model is correct
      • Low-effort tests
      • Detecting convergence issues
      • Combating convergence issues
  • Examples
    • Toycodes
      • a_mps.py
      • b_model.py
      • c_tebd.py
      • d_dmrg.py
      • tfi_exact.py
    • Basic scripts
      • a_np_conserved.py
      • b_mps.py
      • c_tebd.py
      • d_dmrg.py
      • e_tdvp.py
      • purification.py
      • tfi_exact.py
      • z_exact_diag.py
    • Notebooks
      • A first TEBD Example
  • Literature and References
    • TeNPy related sources
    • Software-related
    • General reading
    • Algorithm developments
    • References
  • Papers using TeNPy
  • Contributing
    • Coding Guidelines
    • Bulding the documentation
    • To-Do list

Reference

  • Tenpy main module
  • algorithms
    • truncation
      • TruncationError
      • svd_theta
      • truncate
    • tebd
      • Engine
      • RandomUnitaryEvolution
    • mps_common
      • EffectiveH
      • OneSiteH
      • Sweep
      • TwoSiteH
      • VariationalApplyMPO
      • VariationalCompression
    • dmrg
      • DMRGEngine
      • DensityMatrixMixer
      • EngineCombine
      • EngineFracture
      • Mixer
      • SingleSiteDMRGEngine
      • SingleSiteMixer
      • TwoSiteDMRGEngine
      • TwoSiteMixer
      • chi_list
      • full_diag_effH
      • run
    • tdvp
      • Engine
      • H0_mixed
      • H1_mixed
      • H2_mixed
    • purification
      • PurificationApplyMPO
      • PurificationTEBD
      • PurificationTEBD2
      • PurificationTwoSiteU
    • mpo_evolution
      • ExpMPOEvolution
    • network_contractor
      • contract
      • ncon
    • exact_diag
      • ExactDiag
  • linalg
    • np_conserved
      • Array
      • concatenate
      • detect_grid_outer_legcharge
      • detect_legcharge
      • detect_qtotal
      • diag
      • eig
      • eigh
      • eigvals
      • eigvalsh
      • expm
      • eye_like
      • grid_concat
      • grid_outer
      • inner
      • norm
      • ones
      • outer
      • pinv
      • qr
      • speigs
      • svd
      • tensordot
      • to_iterable_arrays
      • trace
      • zeros
      • Overview
    • charges
      • ChargeInfo
      • LegCharge
      • LegPipe
    • svd_robust
      • svd
      • svd_gesvd
    • random_matrix
      • COE
      • CRE
      • CUE
      • GOE
      • GUE
      • O_close_1
      • U_close_1
      • box
      • standard_normal_complex
    • sparse
      • FlatHermitianOperator
      • FlatLinearOperator
      • NpcLinearOperator
      • NpcLinearOperatorWrapper
      • OrthogonalNpcLinearOperator
      • ShiftNpcLinearOperator
      • SumNpcLinearOperator
    • lanczos
      • LanczosEvolution
      • LanczosGroundState
      • gram_schmidt
      • lanczos
      • lanczos_arpack
      • plot_stats
  • models
    • lattice
      • Chain
      • Honeycomb
      • IrregularLattice
      • Kagome
      • Ladder
      • Lattice
      • SimpleLattice
      • Square
      • Triangular
      • TrivialLattice
      • get_lattice
      • get_order
      • get_order_grouped
    • model
      • CouplingMPOModel
      • CouplingModel
      • MPOModel
      • Model
      • MultiCouplingModel
      • NearestNeighborModel
    • tf_ising
      • TFIChain
      • TFIModel
    • xxz_chain
      • XXZChain
      • XXZChain2
    • spins
      • SpinChain
      • SpinModel
    • spins_nnn
      • SpinChainNNN
      • SpinChainNNN2
    • fermions_spinless
      • FermionChain
      • FermionModel
    • hubbard
      • BoseHubbardChain
      • BoseHubbardModel
      • FermiHubbardChain
      • FermiHubbardModel
    • hofstadter
      • HofstadterBosons
      • HofstadterFermions
      • gauge_hopping
    • haldane
      • BosonicHaldaneModel
      • FermionicHaldaneModel
    • toric_code
      • DualSquare
      • ToricCode
  • networks
    • site
      • BosonSite
      • FermionSite
      • GroupedSite
      • Site
      • SpinHalfFermionSite
      • SpinHalfSite
      • SpinSite
      • group_sites
      • multi_sites_combine_charges
    • mps
      • MPS
      • MPSEnvironment
      • TransferMatrix
      • build_initial_state
    • mpo
      • MPO
      • MPOEnvironment
      • MPOGraph
      • grid_insert_ops
      • make_W_II
    • terms
      • CouplingTerms
      • ExponentiallyDecayingTerms
      • MultiCouplingTerms
      • OnsiteTerms
      • TermList
      • order_combine_term
    • purification_mps
      • PurificationMPS
  • tools
    • hdf5_io
      • Hdf5Exportable
      • Hdf5Ignored
      • Hdf5Loader
      • Hdf5Saver
      • Hdf5ExportError
      • Hdf5FormatError
      • Hdf5ImportError
      • load
      • load_from_hdf5
      • save
      • save_to_hdf5
      • valid_hdf5_path_component
    • params
      • Config
      • asConfig
      • get_parameter
      • unused_parameters
    • misc
      • add_with_None_0
      • any_nonzero
      • argsort
      • atleast_2d_pad
      • build_initial_state
      • chi_list
      • inverse_permutation
      • lexsort
      • list_to_dict_list
      • pad
      • setup_executable
      • to_array
      • to_iterable
      • to_iterable_of_len
      • transpose_list_list
      • zero_if_close
    • math
      • entropy
      • gcd
      • gcd_array
      • lcm
      • matvec_to_array
      • perm_sign
      • qr_li
      • rq_li
      • speigs
      • speigsh
    • fit
      • alg_decay
      • alg_decay_fit
      • alg_decay_fit_res
      • alg_decay_fits
      • fit_with_sum_of_exp
      • lin_fit_res
      • linear_fit
      • plot_alg_decay_fit
      • sum_of_exp
    • string
      • is_non_string_iterable
      • to_mathematica_lists
      • vert_join
    • process
      • load_omp_library
      • memory_usage
      • mkl_get_nthreads
      • mkl_set_nthreads
      • omp_get_nthreads
      • omp_set_nthreads
    • optimization
      • OptimizationFlag
      • temporary_level
      • get_level
      • optimize
      • set_level
      • to_OptimizationFlag
      • use_cython
  • version
TeNPy
  • Docs »
  • Python Module Index

Python Module Index

t
 
t
- tenpy
    tenpy.algorithms
    tenpy.algorithms.dmrg
    tenpy.algorithms.exact_diag
    tenpy.algorithms.mpo_evolution
    tenpy.algorithms.mps_common
    tenpy.algorithms.network_contractor
    tenpy.algorithms.purification
    tenpy.algorithms.tdvp
    tenpy.algorithms.tebd
    tenpy.algorithms.truncation
    tenpy.linalg
    tenpy.linalg.charges
    tenpy.linalg.lanczos
    tenpy.linalg.np_conserved
    tenpy.linalg.random_matrix
    tenpy.linalg.sparse
    tenpy.linalg.svd_robust
    tenpy.models
    tenpy.models.fermions_spinless
    tenpy.models.haldane
    tenpy.models.hofstadter
    tenpy.models.hubbard
    tenpy.models.lattice
    tenpy.models.model
    tenpy.models.spins
    tenpy.models.spins_nnn
    tenpy.models.tf_ising
    tenpy.models.toric_code
    tenpy.models.xxz_chain
    tenpy.networks
    tenpy.networks.mpo
    tenpy.networks.mps
    tenpy.networks.purification_mps
    tenpy.networks.site
    tenpy.networks.terms
    tenpy.tools
    tenpy.tools.fit
    tenpy.tools.hdf5_io
    tenpy.tools.math
    tenpy.tools.misc
    tenpy.tools.optimization
    tenpy.tools.params
    tenpy.tools.process
    tenpy.tools.string
    tenpy.version

© Copyright 2016-2020, TeNPy Developers Revision 51d6743e.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: v0.7.2
Versions
latest
stable
v0.7.2
v0.7.1
v0.7.0
v0.6.1
v0.6.0
v0.5.0
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.