|
VMPS++
|
Auxiliary matrix of matrices to create an Mpo and MpoQ.
Definition at line 17 of file SuperMatrix.h.
#include <SuperMatrix.h>
Public Member Functions | |
| OperatorType & | operator() (size_t i, size_t j) |
| OperatorType | operator() (size_t i, size_t j) const |
| void | set (size_t Daux1, size_t Daux2, size_t D) |
| void | setRowVector (size_t Daux, size_t D) |
| void | setColVector (size_t Daux, size_t D) |
| void | setMatrix (size_t Daux, size_t D) |
| SuperMatrix< Symmetry, Scalar > | row (size_t i) |
| SuperMatrix< Symmetry, Scalar > | col (size_t i) |
| void | setZero () |
| size_t | rows () const |
| size_t | cols () const |
| size_t | auxdim () const |
| double | memory (MEMUNIT memunit=GB) const |
| size_t | D () const |
| std::vector< typename Symmetry::qType > | calc_qOp () const |
Private Types | |
| typedef SparseMatrix< double, ColMajor, EIGEN_DEFAULT_SPARSE_INDEX_TYPE > | MatrixType |
| typedef SiteOperator< Symmetry, Scalar > | OperatorType |
Private Member Functions | |
| void | innerResize (size_t D) |
Private Attributes | |
| size_t | N_rows |
| size_t | N_cols |
| boost::multi_array< OperatorType, 2 > | data |
|
private |
Definition at line 19 of file SuperMatrix.h.
|
private |
Definition at line 20 of file SuperMatrix.h.
|
inline |
auxiliary dimension of an Mpo / MpoQ / SuperMatrix:
- Daux=1: local operator
- Daux=2: sum of local operators
- Daux=3: Ising
- Daux=4: XY
- Daux=5: Heisenberg, XXZ
- Daux=6: Hubbard, Kondo
- Daux=7: extended Hubbard
Definition at line 92 of file SuperMatrix.h.
|
inline |
Definition at line 124 of file SuperMatrix.h.
|
inline |
Returns the i-th column.
Definition at line 67 of file SuperMatrix.h.
|
inline |
Definition at line 89 of file SuperMatrix.h.
|
inline |
| D | local (physical) dimension: - D=2: S=1/2 Heisenberg - D=3: t-J, S=1 Heisenberg - D=4: Hubbard - D=8: KondoLattice |
Definition at line 112 of file SuperMatrix.h.
|
inlineprivate |
Definition at line 146 of file SuperMatrix.h.
|
inline |
Calculates the (theoretically) allocated memory (note: by default in GB).
Definition at line 99 of file SuperMatrix.h.
|
inline |
Definition at line 23 of file SuperMatrix.h.
|
inline |
Definition at line 24 of file SuperMatrix.h.
|
inline |
Returns the i-th row.
Definition at line 55 of file SuperMatrix.h.
|
inline |
Definition at line 88 of file SuperMatrix.h.
|
inline |
Resizes to a row vector (1,Daux) for the first site.
Definition at line 27 of file SuperMatrix.h.
|
inline |
Resizes to a column vector (Daux,1) for the last site.
Definition at line 43 of file SuperMatrix.h.
|
inline |
Resizes to a matrix (Daux,Daux) for all sites save the first and the last.
Definition at line 49 of file SuperMatrix.h.
|
inline |
Resizes to a row vector (1,Daux) for the first site.
Definition at line 37 of file SuperMatrix.h.
|
inline |
Sets all submatrices to zero.
Definition at line 79 of file SuperMatrix.h.
|
private |
Definition at line 144 of file SuperMatrix.h.
|
private |
Definition at line 142 of file SuperMatrix.h.
|
private |
Definition at line 141 of file SuperMatrix.h.