GTorlai / PastaQ.jl

Package for Simulation, Tomography and Analysis of Quantum Computers
Apache License 2.0
142 stars 23 forks source link

productstate/productoperator functions to replace trivialstate/trivialprocess #193

Closed mtfishman closed 3 years ago

mtfishman commented 3 years ago

This replaces the functions trivialstate/trivialprocess with productstate/productoperator, and additionally removes the mixed = true case in the favor of converting to an MPO with MPO(productstate(s)).

Right now, trivialstate makes a state without link indices, for no particular reason other than that I was interested to see if it worked and because it makes the code a bit simpler. This exposed some bugs in ITensors/NDTensors, so I'm working through those right now.

Left to do: