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

An idle qubit should still be considered idle even if it has a barrier #621

Open
garrison opened this issue Jun 7, 2024 · 0 comments · May be fixed by #639
Open

An idle qubit should still be considered idle even if it has a barrier #621

garrison opened this issue Jun 7, 2024 · 0 comments · May be fixed by #639
Labels
bug Something isn't working cutting QPD-based circuit cutting code good first issue Good for newcomers

Comments

@garrison
Copy link
Member

garrison commented Jun 7, 2024

I noticed in the fragment of code for identifying idle qubits that it will identify a qubit as non-idle if it has a barrier, even if nothing else is on it:

https://github.com/Qiskit-Extensions/circuit-knitting-toolbox/blob/67f24cb4e8e067eebad1f351ce971df8dc115f61/circuit_knitting/utils/transforms.py#L170-L177

This is in contrast to the proposed similar method in Qiskit/qiskit#12470.

@garrison garrison changed the title An idle qubit is still idle even if it has a barrier An idle qubit should still be considered idle even if it has a barrier Jun 7, 2024
@garrison garrison added good first issue Good for newcomers bug Something isn't working cutting QPD-based circuit cutting code labels Jun 7, 2024
@raunakkumarsingh raunakkumarsingh linked a pull request Jul 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cutting QPD-based circuit cutting code good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant