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

IR representation of virtual and real qubits is unnecessarily different and complicated #480

Open
jvansomeren opened this issue May 4, 2023 · 0 comments

Comments

@jvansomeren
Copy link
Collaborator

Virtual qubits represent qubits in the program, with arbitrary names and a structure matching their use in the program.
Real qubits represent qubits in the target, with names matching the naming conventions of the target and a structure conforming to the topology of those qubits in the target.
The mapper translates from the former ones to the latter ones.
Other passes are not interested in their difference. A decomposer doesn't care about the qubit arguments to a gate
to be virtual or real. For an optimizer such a difference is also a burden.
So it is proposed to update the IR so that there is one kind of qubit and that differences between virtual and real qubits only
appear in detailed attributes of this single kind of qubit.
We could also revise that qubits could be structured in more-than-1 dimensional arrays at the virtual side and in general.

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