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

Quantum Chess: Add ancillary qubits when mapping to hardware #48

Open
dstrain115 opened this issue Jan 19, 2021 · 0 comments
Open

Quantum Chess: Add ancillary qubits when mapping to hardware #48

dstrain115 opened this issue Jan 19, 2021 · 0 comments
Assignees
Labels

Comments

@dstrain115
Copy link
Collaborator

(More difficult issue)

When we try to map to hardware (especially for merge moves), sometimes the moves do not fit the topology of the device. For instance, consider this move sequence:

  • Rook splits from a1 to b1
  • Rook on a2 moves to a3.
  • Rooks on a3 and b1 merge to b3.

This creates this tree:
a1 - a2 - a3
| |
b1 - b3

This "pentagon" layout will not fit on the grid. However, if we added a bonus ancillary qubit with SWAP gates at b2, it could fit in a 2x3 rectangle on the grid. We need to be able to detect these problems and correct them by adding extra qubits on one of the paths.

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

No branches or pull requests

4 participants