GTorlai / PastaQ.jl

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

Remove Choi type (?) #147

Closed mtfishman closed 4 years ago

mtfishman commented 4 years ago

Before the first release, we should decide if we need the Choi type. Advantages of having it are:

Disadvantages are:

I would lean towards removing the Choi type, and determining if it is Choi-like based on context or by analyzing index tags (or hopefully not needing to and having generic code that works for Choi and non-Choi matrices, like for example tr). We could even just make a function ischoi(::Union{MPO, LPDO}) so then we can choose special behavior for Choi-like matrices as needed.

mtfishman commented 4 years ago

@GTorlai, if we decide to do this, I can do it after you merge #140.