Transformations
Tenet.transform! Function
transform!(tn::TensorNetwork, config::Transformation)
transform!(tn::TensorNetwork, configs)
In-place version of transform
.
Tenet.transform Method
transform(tn::TensorNetwork, config::Transformation)
transform(tn::TensorNetwork, configs)
Return a new TensorNetwork
where some Transformation
has been performed into it.
See also: transform!
.
Tenet.AntiDiagonalGauging Type
AntiDiagonalGauging <: Transformation
Reverse the order of tensor indices that fulfill the anti-diagonal condition. While this transformation doesn't directly enhance computational efficiency, it sets up the TensorNetwork
for other operations that do.
Keyword Arguments
atol
Absolute tolerance. Defaults to1e-12
.skip
List of indices to skip. Defaults to[]
.
Tenet.ContractSimplification Type
ContractSimplification <: Transformation
Preemptively contract tensors whose result doesn't increase in size.
Tenet.DiagonalReduction Type
DiagonalReduction <: Transformation
Reduce the dimension of a Tensor
in a TensorNetwork
when it has a pair of indices that fulfil a diagonal structure.
Keyword Arguments
atol
Absolute tolerance. Defaults to1e-12
.
Tenet.HyperFlatten Type
HyperFlatten <: Transformation
Convert hyperindices to COPY-tensors, represented by DeltaArray
s. This transformation is always used by default when visualizing a TensorNetwork
with plot
.
See also: HyperGroup
.
Tenet.HyperGroup Type
HyperGroup <: Transformation
Convert COPY-tensors, represented by DeltaArray
s, to hyperindices.
See also: HyperFlatten
.
Tenet.SplitSimplification Type
SplitSimplification <: Transformation
Reduce the rank of tensors in the TensorNetwork
by decomposing them using the Singular Value Decomposition (SVD). Tensors whose factorization do not increase the maximum rank of the network are left decomposed.
Keyword Arguments
atol
Absolute tolerance. Defaults to1e-10
.
Tenet.Truncate Type
Truncate <: Transformation
Truncate the dimension of a Tensor
in a TensorNetwork
when it contains columns with all elements smaller than atol
.
Keyword Arguments
atol
Absolute tolerance. Defaults to1e-12
.skip
List of indices to skip. Defaults to[]
.
DocumenterMermaid.MermaidScriptBlock([...])