Skip to content
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

Allow quantum if with multiple effects #174

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dstrain115
Copy link
Collaborator

  • Note that all effects must apply to the same qubits.

- Note that all effects must apply to the same qubits.
)(piece2)

# Test that results are as expected
results = board.peek([piece, piece2], count=100)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this test finished?

Also could you add another test with multiple qubits, e.g. Split?

"""Applies a QuantumEffect conditionally to the specified qubits.

If multiple effects are specified, they will all be applied
(to the same qubits).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we have a TODO() or a suggestion here for cases where effects are applied to different qubits?

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.

2 participants