Skip to content

Transformations

Tenet.transform! Function
julia
transform!(tn::TensorNetwork, config::Transformation)
transform!(tn::TensorNetwork, configs)

In-place version of transform.

source

Tenet.transform Method
julia
transform(tn::TensorNetwork, config::Transformation)
transform(tn::TensorNetwork, configs)

Return a new TensorNetwork where some Transformation has been performed into it.

See also: transform!.

source

Tenet.AntiDiagonalGauging Type
julia
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 to 1e-12.

  • skip List of indices to skip. Defaults to [].

source

Tenet.ContractSimplification Type
julia
ContractSimplification <: Transformation

Preemptively contract tensors whose result doesn't increase in size.

source

Tenet.DiagonalReduction Type
julia
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 to 1e-12.

source

Tenet.HyperFlatten Type
julia
HyperFlatten <: Transformation

Convert hyperindices to COPY-tensors, represented by DeltaArrays. This transformation is always used by default when visualizing a TensorNetwork with plot.

See also: HyperGroup.

source

Tenet.HyperGroup Type
julia
HyperGroup <: Transformation

Convert COPY-tensors, represented by DeltaArrays, to hyperindices.

See also: HyperFlatten.

source

Tenet.SplitSimplification Type
julia
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 to 1e-10.

source

Tenet.Truncate Type
julia
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 to 1e-12.

  • skip List of indices to skip. Defaults to [].

source

DocumenterMermaid.MermaidScriptBlock([...])

Made with DocumenterVitepress.jl