-
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.
Add display of expressions to circuit drawers (#10869)
* Fix override bug and testing * Preliminary changes * First attempts * Work on x_index * Early testing * Cleanup getattr * Complete adding exprs * Add exprs to mpl * Work on spacing * Spacing changes * Finish initial mpl expressions * Exprs fully implemented mpl, pre-test * Add exprs to text drawer * Minor text fixes and update tests for cregbundle False * Add tests * Lint * Fix test * Adjust switch test * Lint again * Add expr_len kwarg and minor fixes * Update for 10842 changes * Lint * Update refs for minor switch spacing * Minor cleanup * Only call QASM3Builder once * Remove spurious print * Minor documentation tweaks * For mpl, adjust switch/expr spacing, fix 1 qarg flow ops, fix top level flow op layers * Add tests for 1 qarg, nested expr, and for range * Lint * Fold on text test * Remove wire_map from get_layered --------- Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
- Loading branch information
1 parent
a881215
commit 19862cc
Showing
18 changed files
with
447 additions
and
47 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
Oops, something went wrong.