Repo Added
|
Files
913
|
Badge
Embed ▾
README BADGES
|
push
github
Implement `__array__` for `qasm2._DefinedGate` (#12119) (#12523) * Implement `__array__` for `qasm2._DefinedGate` Gates defined from OpenQASM 2 should have a well-defined matrix form (up to global phase) whenever all the constituent parts of the definition do. This manually makes such a matrix available. * Fix signature for Numpy 2.0 (cherry picked from commit 767bd0733) Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
5 of 6 new or added lines in 1 file covered. (83.33%)
62257 of 69463 relevant lines covered (89.63%)
231990.32 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|