mps-0.0.0
MatrixProductStatesinC++
 All Data Structures Namespaces Functions Variables Enumerations Enumerator Groups Pages
Hamiltonians

Data Structures

class  mps::ConstantHamiltonian
 1D Hamiltonian, constant but with no translational invariance More...
 
class  mps::Hamiltonian
 Base class for 1D lattice Hamiltonians. More...
 
class  mps::TIHamiltonian
 1D Hamiltonian, translationally invariant and constant. More...
 

Functions

double mps::expected (const RMPS &psi, const Hamiltonian &H, double t)
 Expected value of a Hamiltonian over a matrix product state. More...
 
double mps::expected (const CMPS &psi, const Hamiltonian &H, double t)
 Expected value of a Hamiltonian over a matrix product state. More...
 
const CSparse mps::sparse_hamiltonian (const Hamiltonian &H, double t=0.0)
 Create a sparse matrix using the information in Hamiltonian. More...
 

Detailed Description

Function Documentation

double mps::expected ( const RMPS &  psi,
const Hamiltonian &  H,
double  t 
)

Expected value of a Hamiltonian over a matrix product state.

Definition at line 25 of file hamiltonian_expected_d.cc.

double mps::expected ( const CMPS &  psi,
const Hamiltonian &  H,
double  t 
)

Expected value of a Hamiltonian over a matrix product state.

Definition at line 25 of file hamiltonian_expected_z.cc.

const CSparse mps::sparse_hamiltonian ( const Hamiltonian &  H,
double  t = 0.0 
)

Create a sparse matrix using the information in Hamiltonian.

Definition at line 26 of file sparse_hamiltonian.cc.