Tools module (quspin.tools
)
Classes and functions to manipulate quantum states and do calculations.
evolution
|
Calculates the time evolution of initial state using a complete eigenbasis. |
|
Implements (imaginary) time evolution for a user-defined first-order ODE. |
|
Implements scipy.sparse.linalg.expm_multiply() for openmp. |
alias of |
Lanczos
|
Creates Lanczos basis; diagonalizes Krylov subspace in Lanczos basis. |
|
Creates generator for Lanczos basis; diagonalizes Krylov subspace in Lanczos basis. |
|
Calculates action of matrix exponential on vector using Lanczos algorithm. |
|
Computes a linear combination of the Lanczos basis vectors: |
|
Calculate iteration for low-temperature Lanczos method. |
|
Calculate iteration for Finite-Temperature Lanczos method. |
Floquet
|
Calculates the Floquet spectrum, Floquet Hamiltonian and Floquet states. |
|
Creates a Floquet time vector with fixed number of points per period. |
measurements
|
DEPRECATED (cf basis.ent_entropy). |
|
Calculates expectation values in the Diagonal ensemble of the initial state. |
|
Calculates expectation value of observable(s) as a function of time in a time-dependent state. |
block_tools
|
Splits up the dynamics of a state over various symmetry sectors. |
|
Block-diagonalises a Hamiltonian obeying a symmetry. |
misc
|
Calculates omp-parallelized matrix vector products. |
|
Determines automatically the matrix vector product routine for an array based on its type. |
|
Calculates the mean-level spacing of an energy spectrum. |
|
Projects observable onto symmetry-reduced subspace. |
|
Calculates Kullback-Leibler divergence of two discrete probability distributions. |
|
Converts QuSpin basis type integers to a state array with binary elements. |
|
Converts a state array with binary elements to QuSpin basis type integers. |
|
Converts QuSpin basis type integers to a state array with binary elements. |