forked from Qiskit/qiskit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to set a classical condition on a list of bits (Qiskit#7653)
* Get mpl and utils conditions working * Almost on text drawer * Finish text drawer * Cleanup * Finish latex and fix tests * Working on measure with condition in utils * Lint * More lint * Finish 7248 and 7284 plus measure issues * Add mpl tests * Fix mpl tests * Add latex and text tests and bug fixes * Lint and update image * Reno and fix image * Image * Fix in mpl drawer * Finish after merge main * Lint and reno * Lint again * Convert mpl and latex to using find_bit * Fix reverse bits with registerless in 3 drawers, refactor latex to use bundle_bits_dict * Fix consistent naming for class vars in latex * Refactor text and latex drawers for bit primacy * Finish mpl bit condition changes * Cleanup lint and creg displays * Lint * More lint * Cleanup and docs * Update register bit index * Fix idle wires * Lint * Incorporate 6018 Tharrma changes * Allow mpl drawer to display condition on a list of bits * Add list option to c_if and update circuit drawers * Add drawer tests * Remove test_compose dag_circuit test and cleanup * Lint and release note * Add get_register function * Comment fixes and update image refs * Switch from bit to wire and other cleanup * Add deprecations for qregs, cregs, global_phase, and calibrations * Lint * Add circuit=None warning * Deprecations for Drawer classes * Lint * Update anchors fetch * Lint * Fix anchor fetch * Run black * Update mpl refs * Fix instruction test * Remove reverse_bits from cond_label call * Lint * Simplify val_bits calc * Fix sidetext tests and add Tharrma Co-authored-by: Tharrmashastha SAPV <[email protected]> * Move cregbundle checks to utils * Lint * Fix up cregbundle check for efficiency * Lint * Lint and update sidetext ref image * testing true/false * testing: less than 2 ^ number of bits * black Co-authored-by: Tharrmashastha SAPV <[email protected]> Co-authored-by: Luciano Bello <[email protected]>
- Loading branch information
1 parent
7f8947e
commit 592b9ac
Showing
25 changed files
with
340 additions
and
239 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
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
Oops, something went wrong.