Skip to content

Conversation

brohan-byte
Copy link
Collaborator

As of now if petrajectories receives an operation with indices beyond what the input register/state contains, it lets it go.
I've added in a simple guard to ensure that it throws an error in such a case.

Since this guard runs only once, it isn't computationally expensive either.

…operation that has out of bounds indices for 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.

1 participant