-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
The synthesis function synth_cnot_count_full_pmh
returns invalid circuits for certain section_size
values
#12106
Comments
Hey @ShellyGarion and @alexanderivrii, I'm new to the Qiskit code base and currently exploring issues to contribute to. I noticed this one and I'm interested in working on it. Would that be possible? |
thanks @Tarun-Kumar07 - I've assigned you on this issue. Please let us know when you open a PR. |
Hey @ShellyGarion, I'm uncertain about the expected behavior here. |
@Tarun-Kumar07 - Indeed, using
|
I believe option 1 is preferable, as it provides clarity to the user by immediately alerting them to any violation of the condition |
OK, so please go ahead with the fix, and let me know when you open a PR |
Hey @ShellyGarion , I have opened a PR #12166. |
Hey @ShellyGarion, Is there another task or issue I can contribute to? I've been searching through the good first issues but haven't found something suitable to work on. |
Indeed, the best way is to ask in Qiskit slack channels (as you did). Good luck! |
synth_cnot_count_full_pmh
returns empty circuit when section_size
exceeds the number of qubits synth_cnot_count_full_pmh
returns invalid circuits for certain section_size
values
Following the discussion in #12166 we observed that for some values of |
@ShellyGarion @alexanderivrii pls, can you assign me? I want to give it a look. |
Thanks @Abdalla01001, but please note that there is already an open PR #12166 by @Tarun-Kumar07. |
Environment
What is happening?
The following code
produces an empty circuit.
How can we reproduce the issue?
Run the code above.
What should happen?
Setting
section_size
to a large number would probably produce suboptimal results, however it should still produce a valid (non-empty) circuit.Any suggestions?
I believe that something wrong is going on when
section size
is larger than the size of the matrix, for instance in the above example settingsection_size
to a number5
or lower does work correctly.The text was updated successfully, but these errors were encountered: