-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow QuantumCircuit construction with zero qubit or clbit count (#6800)
* allow circuits with zero classical registers to be constructed * add test * fix typo * trigger build * allow quantum register of size zero; add unit tests * trigger build * address review comments * fix tests; revert special case for 0 classical registers * add test * fix tests Co-authored-by: Pieter Eendebak <P.T.eendebak@tudelft.nl>
- Loading branch information
1 parent
fd921b8
commit 1e27e83
Showing
4 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters