Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

fixed partial trace constraint in cvx fitting routine #438

Merged
merged 2 commits into from
Jun 22, 2020

Conversation

ChriPiv
Copy link
Contributor

@ChriPiv ChriPiv commented Jun 22, 2020

Summary

Fixes #437

Details and comments

When doing process tomography with the cvx method, one can include a constraint s.t. the resulting quantum channel will be trace preserving. Mathematically this constraint corresponds to the partial trace of the Choi matrix being the identity.

In the code, only the real part of the partial trace is compared with the identity, but not the imaginary part.

@mtreinish mtreinish added Changelog: Bugfix Include in the Fixed section of the changelog stable-backport-potential labels Jun 22, 2020
@chriseclectic chriseclectic merged commit 3b72172 into qiskit-community:master Jun 22, 2020
mtreinish pushed a commit to mtreinish/qiskit-ignis that referenced this pull request Jun 22, 2020
chriseclectic pushed a commit that referenced this pull request Jun 24, 2020
(cherry picked from commit 3b72172)

Co-authored-by: Christophe Piveteau <cpivetea@student.ethz.ch>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Changelog: Bugfix Include in the Fixed section of the changelog stable-backport-potential
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Process Tomography does not handle trace preserving constraint correctly
3 participants