Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-Sim bug when gates applied between qubit measurements #10

Open
nkcxliu2 opened this issue Jan 22, 2024 · 0 comments
Open

DM-Sim bug when gates applied between qubit measurements #10

nkcxliu2 opened this issue Jan 22, 2024 · 0 comments

Comments

@nkcxliu2
Copy link
Collaborator

In a quantum circuit or a qasm file, when quantum measurements of qubits that are no longer in use occur before quantum gates on other qubits, the dm-sim calculation gets incorrect results.

For instance, the following operation sequence will cause this problem.

measure q[1] -> c[1];
sx q[2];
measure q[2] -> c[2];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant