Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Multi controlled U gate dropdown list not conserved after clicking 'Done' #80

Open
Theo-Reignier opened this issue Aug 14, 2021 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Theo-Reignier
Copy link
Member

Bug Description

In the 'multi controlled U gate' node properties HTML interface, the 'relative position of target qubit' dropdown list is not working properly.

When changing the target qubit and clicking 'Done', the node settings are saved and the Qiskit script generated is correct.
However if the user opens the node properties again, instead of having the dropdown list displaying the previous user setting, the dropdown list always display the first option as default.

Screenshot 2021-08-12 at 19 31 12

Expected Behaviour & Actual Behaviour

If the user selects 'Qubit b' as the 'Relative position of target qubit', after clicking 'Done' and opening the node properties again, the dropdown list should still display the 'Qubit b' option.

System Information

  • Node.js Version: v14.15.5
  • Operating System: Darwin Theos-MacBook-Pro.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64
@Theo-Reignier Theo-Reignier added bug Something isn't working help wanted Extra attention is needed labels Aug 14, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant