VMPS++
Loading...
Searching...
No Matches
VumpsLinearAlgebra.h File Reference
Include dependency graph for VumpsLinearAlgebra.h:

Go to the source code of this file.

Functions

template<typename Symmetry , typename MpoScalar >
complex< double > calc_formfactor_L (const Biped< Symmetry, Matrix< complex< double >, Dynamic, Dynamic > > &Teigen, const Mpo< Symmetry, MpoScalar > &O, const Umps< Symmetry, double > &V)
 
template<typename Symmetry , typename MpoScalar >
complex< double > calc_formfactor_R (const Biped< Symmetry, Matrix< complex< double >, Dynamic, Dynamic > > &Teigen, const Mpo< Symmetry, MpoScalar > &O, const Umps< Symmetry, double > &V)
 
template<typename Symmetry , typename MpoScalar , typename Scalar >
Scalar avg (const Umps< Symmetry, Scalar > &Vbra, const Mpo< Symmetry, MpoScalar > &O, const Umps< Symmetry, Scalar > &Vket)
 
template<typename Symmetry , typename MpoScalar , typename Scalar >
Scalar avg (const Umps< Symmetry, Scalar > &Vbra, const Mpo< Symmetry, MpoScalar > &O1, const Mpo< Symmetry, MpoScalar > &O2, const Umps< Symmetry, Scalar > &Vket)
 
template<typename Symmetry , typename MpoScalar , typename Scalar >
Scalar avg (const Umps< Symmetry, Scalar > &Vbra, const vector< Mpo< Symmetry, MpoScalar > > &O, const Umps< Symmetry, Scalar > &Vket)
 
template<typename Symmetry , typename MpoScalar , typename Scalar >
Scalar avg (const Umps< Symmetry, Scalar > &Vbra, const vector< Mpo< Symmetry, MpoScalar > > &O1, const vector< Mpo< Symmetry, MpoScalar > > &O2, const Umps< Symmetry, Scalar > &Vket)
 

Function Documentation

◆ avg() [1/4]

template<typename Symmetry , typename MpoScalar , typename Scalar >
Scalar avg ( const Umps< Symmetry, Scalar > &  Vbra,
const Mpo< Symmetry, MpoScalar > &  O,
const Umps< Symmetry, Scalar > &  Vket 
)

Calculates the matrix element between two Umps and an Mpo. Goes from the left and uses $A_C$ and $A_R$.

Definition at line 56 of file VumpsLinearAlgebra.h.

◆ avg() [2/4]

template<typename Symmetry , typename MpoScalar , typename Scalar >
Scalar avg ( const Umps< Symmetry, Scalar > &  Vbra,
const Mpo< Symmetry, MpoScalar > &  O1,
const Mpo< Symmetry, MpoScalar > &  O2,
const Umps< Symmetry, Scalar > &  Vket 
)

Definition at line 160 of file VumpsLinearAlgebra.h.

◆ avg() [3/4]

template<typename Symmetry , typename MpoScalar , typename Scalar >
Scalar avg ( const Umps< Symmetry, Scalar > &  Vbra,
const vector< Mpo< Symmetry, MpoScalar > > &  O,
const Umps< Symmetry, Scalar > &  Vket 
)

Calculates the matrix element for a vector of MPOs, summing up the result.

Definition at line 232 of file VumpsLinearAlgebra.h.

◆ avg() [4/4]

template<typename Symmetry , typename MpoScalar , typename Scalar >
Scalar avg ( const Umps< Symmetry, Scalar > &  Vbra,
const vector< Mpo< Symmetry, MpoScalar > > &  O1,
const vector< Mpo< Symmetry, MpoScalar > > &  O2,
const Umps< Symmetry, Scalar > &  Vket 
)

Definition at line 247 of file VumpsLinearAlgebra.h.

◆ calc_formfactor_L()

template<typename Symmetry , typename MpoScalar >
complex< double > calc_formfactor_L ( const Biped< Symmetry, Matrix< complex< double >, Dynamic, Dynamic > > &  Teigen,
const Mpo< Symmetry, MpoScalar > &  O,
const Umps< Symmetry, double > &  V 
)

Definition at line 8 of file VumpsLinearAlgebra.h.

◆ calc_formfactor_R()

template<typename Symmetry , typename MpoScalar >
complex< double > calc_formfactor_R ( const Biped< Symmetry, Matrix< complex< double >, Dynamic, Dynamic > > &  Teigen,
const Mpo< Symmetry, MpoScalar > &  O,
const Umps< Symmetry, double > &  V 
)

Definition at line 31 of file VumpsLinearAlgebra.h.