We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description of the issue
If you do CircuitOperation(..., qubit_map={LineQubit(0), LineQid(1, dimension=3)}), it is happy but then fails during simulation with obscure message.
CircuitOperation(..., qubit_map={LineQubit(0), LineQid(1, dimension=3)})
How to reproduce the issue
See above
Expected behavior
It should fail at circuit construction time with a friendly error message.
Notes
The check needs to happen in with_qubit_mapping as well.
with_qubit_mapping
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description of the issue
If you do
CircuitOperation(..., qubit_map={LineQubit(0), LineQid(1, dimension=3)})
, it is happy but then fails during simulation with obscure message.How to reproduce the issue
See above
Expected behavior
It should fail at circuit construction time with a friendly error message.
Notes
The check needs to happen in
with_qubit_mapping
as well.The text was updated successfully, but these errors were encountered: