Closed nkanazawa1989 closed 2 years ago
I need to look into this more, but one initial issue I found was the cvxpy fitter in experiments doesn't automatically set the trace preserving constraint for QPT. So until I can fix that you need to do that manually via "trace_preserving": True
in the fitter options. That increases fidelity of the example to 0.9988, but that still looks a little low.
I've figured out what the issue causing this is and will work on a fix. Basically the difference was that zero outcome measurements basis elements were not being included in the basis matrix from the lstsq fitters, which leads to slightly incorrectly normalized distributions when using the weighted fitters which makes the fitter struggle to satisfy the CPTP constraints as well.
Informations
What is the current behavior?
QPT experiment in Qiskit Experiments reports lower fidelity than one in Qiskit Ignis.
Steps to reproduce the problem