seemps.evolution.Trotter3rdOrder#
- class seemps.evolution.Trotter3rdOrder#
Bases:
TrotterClass implementing a 3rd order Trotter algorithm.
This class implements a Trotter algorithm in TEBD form for a nearest-neighbor interaction Hamiltonain \(\sum_i h_{i,i+1}\). This third-order formula is a variation of the three-sweep algorithm
\[\prod_{j=1}^{N} \exp(-\frac{i}{4} h_{j,j+1} dt) \prod_{j=N}^{1} \exp(-\frac{i}{2} h_{j,j+1} dt) \prod_{j=1}^{N} \exp(-\frac{i}{4} h_{j,j+1} dt)\]- Parameters:
- apply(state: MPS) CanonicalMPS[source]#
Apply a Trotter 2nd order unitary approximation onto an MPS state.
- Parameters:
- state
MPS The state to be evolved.
- state
- Returns:
CanonicalMPSA fresh new MPS wih the state evolved by one time step.
- apply_inplace(state: MPS) CanonicalMPS[source]#
Apply a Trotter 3rd order unitary approximation onto an MPS state.
- Parameters:
- state
MPS The state to be evolved.
- state
- Returns:
CanonicalMPSThe same state object modified by the unitary, if it was a
CanonicalMPSOtherwise a fresh new state evolved.