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

[chess] Nondeterministic qubit mapping failures #41

Open
losos0 opened this issue Jul 1, 2022 · 0 comments
Open

[chess] Nondeterministic qubit mapping failures #41

losos0 opened this issue Jul 1, 2022 · 0 comments

Comments

@losos0
Copy link
Collaborator

losos0 commented Jul 1, 2022

The code for mapping a circuit onto device qubits randomly alternates between success and failure for certain circuits. It seems like a better idea to return the same result each time.

This branch contains a test, test_entangled_qs_castle2 in quantum_chess/quantum_board_test.py, which fails to map qubits ~20% of the time.

I tagged it as a chess issue since AFAIK that's the only code that uses the circuit layout code, although the layout code is general-purpose.

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