◆ TensorExpansion() [1/4]
exatn::numerics::TensorExpansion::TensorExpansion |
( |
| ) |
|
|
inline |
Constructs an empty ket tensor expansion.
◆ TensorExpansion() [2/4]
Constructs a tensor expansion by applying a tensor network operator to another tensor network expansion.
◆ TensorExpansion() [3/4]
Either constructs the inner product tensor network expansion by closing one tensor network expansion with another tensor network expansion from the dual tensor space or constructs the direct product tensor network expansion from two tensor network expansions from the same space.
◆ TensorExpansion() [4/4]
Constructs the inner product tensor network expansion by applying a tensor network operator to a tensor network expansion (right_expansion) and then closing the resulting tensor network expansion with another tensor network expansion from the dual tensor space.
◆ appendComponent()
bool exatn::numerics::TensorExpansion::appendComponent |
( |
std::shared_ptr< TensorNetwork > |
network, |
|
|
const std::complex< double > |
coefficient |
|
) |
| |
Appends a new component to the tensor network expansion.
◆ conjugate()
void exatn::numerics::TensorExpansion::conjugate |
( |
| ) |
|
Conjugates the tensor network expansion: All constituting tensors are complex conjugated, all tensor legs reverse their direction, complex linear expansion coefficients are conjugated: The ket tensor network expansion becomes a bra, and vice versa.
◆ getComponent()
const ExpansionComponent& exatn::numerics::TensorExpansion::getComponent |
( |
std::size_t |
component_num | ) |
|
|
inline |
Returns a specific component of the tensor network expansion.
◆ getNumComponents()
std::size_t exatn::numerics::TensorExpansion::getNumComponents |
( |
| ) |
const |
|
inline |
Returns the total number of components in the tensor network expansion.
◆ getRank()
int exatn::numerics::TensorExpansion::getRank |
( |
| ) |
const |
|
inline |
Returns the rank of the tensor expansion (number of legs per component). If the expansion is empty, returns -1.
◆ isKet()
bool exatn::numerics::TensorExpansion::isKet |
( |
| ) |
const |
|
inline |
Returns whether the tensor network expansion is ket or not.
◆ printIt()
void exatn::numerics::TensorExpansion::printIt |
( |
| ) |
const |
◆ ket_
bool exatn::numerics::TensorExpansion::ket_ |
|
protected |
The documentation for this class was generated from the following files:
- /Users/aqw/exatn/src/numerics/tensor_expansion.hpp
- /Users/aqw/exatn/src/numerics/tensor_expansion.cpp