bsc-quantic / Tenet.jl

Composable Tensor Network library in Julia
https://bsc-quantic.github.io/Tenet.jl/
Apache License 2.0
17 stars 1 forks source link

Consider accepting three-dimensional edge `Tensor`s for `MatrixProductState` #47

Closed jofrevalles closed 8 months ago

jofrevalles commented 1 year ago

We could loose the current requirements that disallow creating a MatrixProductState where all the tensors are three-dimensional. In that case, we could just check that the dimension of the left and right index for the first and last Tensor, respectively, are one.

I think this could allow an easier implementation of the algorithms where MatrixProductState are used since it is easier to generalize the code, and we wouldn't have to worry about the boundary Tensors being different. What do you think?

mofeing commented 8 months ago

Related code moved to Qrochet.jl.