Skip to content

Conversation

@minestarks
Copy link
Member

When an expanded box contains only one child operation, we automatically expand that one as well.

This prevents the case where we generate a circuit, and we're met with a single, uninteresting box.

We do this recursively, so that when the user clicks an (+) to expand any of the inner operations, any of its only-children will be auto-expanded as well.

BEFORE:

HiddenShiftNISQ.qs:

image

AFTER:

HiddenShiftNISQ.qs:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants