The Product ansatz
A Product is the simplest Ansatz Tensor Network, which consists of a Tensor per Lane without any bonds, so all the sites are unconnected. The Socket type of a Product (whether it represents a State or an Operator) depends on the order of the tensors provided in the constructor.
Product State
Each tensor is one-dimensional, with the only index being the output physical index.
julia
qtn = Product([rand(2) for _ in 1:3])
Product Operator
Each tensor is two-dimensional, with the indices being the input and output physical indices.
julia
qtn = Product([rand(2, 2) for _ in 1:3])
DocumenterMermaid.MermaidScriptBlock([...])