Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Assert: making sure index is inside range #26

Open
omarcostahamido opened this issue Dec 26, 2020 · 0 comments
Open

Assert: making sure index is inside range #26

omarcostahamido opened this issue Dec 26, 2020 · 0 comments

Comments

@omarcostahamido
Copy link
Member

Question:
Why don't we use more assert entries like the one for measurement gates assert b<self.num_clbits, 'Index for output bit out of range.' ?
I'm referring to original microqiskit.

@omarcostahamido omarcostahamido changed the title Assert Assert: making sure index is inside range Dec 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant