VMPS++
Loading...
Searching...
No Matches
VumpsPivotMatrices.h File Reference
Include dependency graph for VumpsPivotMatrices.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PivumpsMatrix1< Symmetry, Scalar, MpoScalar >
 
struct  PivumpsMatrix0< Symmetry, Scalar, MpoScalar >
 

Functions

template<typename Symmetry , typename Scalar , typename MpoScalar >
void HxV (const PivumpsMatrix1< Symmetry, Scalar, MpoScalar > &H, const PivotVector< Symmetry, Scalar > &Vin, PivotVector< Symmetry, Scalar > &Vout)
 
template<typename Symmetry , typename Scalar , typename MpoScalar >
void HxV (const PivumpsMatrix1< Symmetry, Scalar, MpoScalar > &H, PivotVector< Symmetry, Scalar > &Vinout)
 
template<typename Symmetry , typename Scalar , typename MpoScalar >
void HxV (const PivumpsMatrix0< Symmetry, Scalar, MpoScalar > &H, const PivotVector< Symmetry, Scalar > &Vin, PivotVector< Symmetry, Scalar > &Vout)
 
template<typename Symmetry , typename Scalar , typename MpoScalar >
void HxV (const PivumpsMatrix0< Symmetry, Scalar, MpoScalar > &H, PivotVector< Symmetry, Scalar > &Vinout)
 
template<typename Symmetry , typename Scalar , typename MpoScalar >
size_t dim (const PivumpsMatrix1< Symmetry, Scalar, MpoScalar > &H)
 
template<typename Symmetry , typename Scalar , typename MpoScalar >
double norm (const PivumpsMatrix1< Symmetry, Scalar, MpoScalar > &H)
 
template<typename Symmetry , typename Scalar , typename MpoScalar >
size_t dim (const PivumpsMatrix0< Symmetry, Scalar, MpoScalar > &H)
 
template<typename Symmetry , typename Scalar , typename MpoScalar >
double norm (const PivumpsMatrix0< Symmetry, Scalar, MpoScalar > &H)
 

Function Documentation

◆ dim() [1/2]

template<typename Symmetry , typename Scalar , typename MpoScalar >
size_t dim ( const PivumpsMatrix0< Symmetry, Scalar, MpoScalar > &  H)
inline

Definition at line 332 of file VumpsPivotMatrices.h.

◆ dim() [2/2]

template<typename Symmetry , typename Scalar , typename MpoScalar >
size_t dim ( const PivumpsMatrix1< Symmetry, Scalar, MpoScalar > &  H)
inline

Definition at line 319 of file VumpsPivotMatrices.h.

◆ HxV() [1/4]

template<typename Symmetry , typename Scalar , typename MpoScalar >
void HxV ( const PivumpsMatrix0< Symmetry, Scalar, MpoScalar > &  H,
const PivotVector< Symmetry, Scalar > &  Vin,
PivotVector< Symmetry, Scalar > &  Vout 
)

Performs the local update of $C$ (eq. 16) with an explicit 2-site Hamiltonian.

Definition at line 219 of file VumpsPivotMatrices.h.

◆ HxV() [2/4]

template<typename Symmetry , typename Scalar , typename MpoScalar >
void HxV ( const PivumpsMatrix0< Symmetry, Scalar, MpoScalar > &  H,
PivotVector< Symmetry, Scalar > &  Vinout 
)

Performs HxV in place.

Definition at line 311 of file VumpsPivotMatrices.h.

◆ HxV() [3/4]

template<typename Symmetry , typename Scalar , typename MpoScalar >
void HxV ( const PivumpsMatrix1< Symmetry, Scalar, MpoScalar > &  H,
const PivotVector< Symmetry, Scalar > &  Vin,
PivotVector< Symmetry, Scalar > &  Vout 
)

Performs the local update of $A_C$ (eq. (11)) with a 2-site Hamiltonian.

Definition at line 68 of file VumpsPivotMatrices.h.

◆ HxV() [4/4]

template<typename Symmetry , typename Scalar , typename MpoScalar >
void HxV ( const PivumpsMatrix1< Symmetry, Scalar, MpoScalar > &  H,
PivotVector< Symmetry, Scalar > &  Vinout 
)

Performs HxV in place.

Definition at line 210 of file VumpsPivotMatrices.h.

◆ norm() [1/2]

template<typename Symmetry , typename Scalar , typename MpoScalar >
double norm ( const PivumpsMatrix0< Symmetry, Scalar, MpoScalar > &  H)
inline

Definition at line 339 of file VumpsPivotMatrices.h.

◆ norm() [2/2]

template<typename Symmetry , typename Scalar , typename MpoScalar >
double norm ( const PivumpsMatrix1< Symmetry, Scalar, MpoScalar > &  H)
inline

Definition at line 326 of file VumpsPivotMatrices.h.