Commit 554ec39
Fix: Initialize.inverse() now raises CircuitError immediately (#15782)
* Fix: Initialize.inverse() now raises CircuitError immediately
* move importations to the beggining
* Fix: apply black formatting
* Apply suggestions from code review by Cryoris
Co-authored-by: Julien Gacon <gaconju@gmail.com>
---------
Co-authored-by: Julien Gacon <gaconju@gmail.com>
Co-authored-by: Shelly Garion <46566946+ShellyGarion@users.noreply.github.com>
(cherry picked from commit 1aeb988)1 parent 1b36fc7 commit 554ec39
3 files changed
Lines changed: 23 additions & 0 deletions
File tree
- qiskit/circuit/library/data_preparation
- releasenotes/notes
- test/python/circuit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
514 | 515 | | |
515 | 516 | | |
516 | 517 | | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
517 | 525 | | |
518 | 526 | | |
519 | 527 | | |
| |||
0 commit comments