Closed jofrevalles closed 3 months ago
This PR resolves #46 by adding an order keyword argument that allows arbitrary order of the dimensions of the tensors, as long as all those arrays are in the same order.
order
julia> using Qrochet julia> mps = Chain(State(), Open(), [rand(3, 2), rand(3, 5, 2), rand(5, 2)]; order=(:l, :r, :o)) MPS (inputs=0, outputs=3) julia> inds.(tensors(mps)) 3-element Vector{Vector{Symbol}}: [:D, :A] [:D, :E, :B] [:E, :C]
@mofeing can we merge this?
This PR resolves #46 by adding an
order
keyword argument that allows arbitrary order of the dimensions of the tensors, as long as all those arrays are in the same order.Example