Quantum Tensor Networks

Tenet.QuantumType
Quantum

Tensor Network with a notion of "causality". This leads to the notion of sites and directionality (input/output).

Notes

  • Indices are referenced by Sites.
source
Base.adjointMethod
adjoint(q::Quantum)

Returns the adjoint of a Quantum Tensor Network; i.e. the conjugate Tensor Network with the inputs and outputs swapped.

source

Queries

EinExprs.indsMethod
inds(tn::Quantum, set::Symbol = :all, args...; kwargs...)

Options:

  • :at: index at a site
source
Tenet.tensorsMethod
tensors(tn::Quantum, query::Symbol, args...; kwargs...)

Options:

  • :at: tensor at a site
source

Connecting Quantum Tensor Networks

Missing docstring.

Missing docstring for lanes. Check Documenter's build log for details.

Missing docstring.

Missing docstring for nlanes. Check Documenter's build log for details.

Missing docstring.

Missing docstring for Socket. Check Documenter's build log for details.

Tenet.ScalarType
Scalar <: Socket

Socket representing a scalar; i.e. a Tensor Network with no open sites.

source
Tenet.StateType
State <: Socket

Socket representing a state; i.e. a Tensor Network with only input sites (or only output sites if dual = true).

source
Tenet.OperatorType
Operator <: Socket

Socket representing an operator; i.e. a Tensor Network with both input and output sites.

source
Base.mergeMethod
merge(a::Quantum, b::Quantum...)

Merges multiple Quantum Tensor Networks into a single one by connecting input/output sites.

source