You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When there is a nested circuit - an operation within an operation, and both are open, closing the top operation keeps the inner one semi-open.
After reopening the top operation, the inner one is with a minus sign (-) - as an open operation, but it is actually closed.
Click on the plus (+) of the first "GroverIteration (Oracle)" operation.
Keep the previous operation open and close the topmost "GroverSearch" operation.
Open the top operation. The previously opened operation is closed but presented with a minus (-).
Expected behavior
I would expect one of the two:
Closing with children reset: closing a parent (or a grandparent) closes all its children and indirect grand-children. Reopening the parent appropriately presents the children closed with a (+) sign.
Closing with memory: when closing and reopening a parent operation, the previous state of its children is kept intact. In the above example, "GroverIteration (Oracle)" should be visually open at step 4.
Describe the bug
When there is a nested circuit - an operation within an operation, and both are open, closing the top operation keeps the inner one semi-open.
After reopening the top operation, the inner one is with a minus sign (-) - as an open operation, but it is actually closed.
To Reproduce
Steps to reproduce the behavior:
https://observablehq.com/@anpaz/quantum?ui=classic
Specifically, focus on the last example (Grover search).
Expected behavior
I would expect one of the two:
Screenshots
Edit:
This issue is connected to #17.
The text was updated successfully, but these errors were encountered: