• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 15280202362
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 27 May 2025 04:47PM UTC
Jobs 1
Files 810
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 May 2025 04:05PM UTC coverage: 88.264% (-0.06%) from 88.328%
15280202362

push

github

web-flow
`SingleQubitOperation` trait and speedup to `Optimize1qGatesDecomposition` pass  (#14020)

* Implementing SingleQubitOperation trait and improving the performance of optimize_1q_gates_decomposition

* lint

* formatting and test

* also adding the method get_mat_nalgebra_1q

* merge with main

* Inlining new methods within the Operation trait as a short-term measure

* adding default implementation for get_mat_nalgebra_1q to the Operation trait instead

* renaming following review comments

* docstring

* update conversion Python->Rust for unitary matrices to be order-independent

The upshot of doing this is that for 1q and 2q unitary matrices, the class stores the more efficient OneQ and TwoQ representations
instead of the more general NDArray one

* changing test names

* modifying the logic as suggested in review

* specializing implementation of matrix_as_nalgebra_1q for UnitaryGate

* Update crates/circuit/src/operations.rs

---------

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

91 of 180 new or added lines in 4 files covered. (50.56%)

12 existing lines in 5 files now uncovered.

78566 of 89013 relevant lines covered (88.26%)

466929.17 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
89
87.82
-3.49% crates/circuit/src/operations.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.82
-3.49% crates/circuit/src/operations.rs
1
75.12
0.05% crates/circuit/src/symbol_expr.rs
1
92.65
-0.74% crates/quantum_info/src/convert_2q_block_matrix.rs
3
81.85
-1.07% crates/quantum_info/src/versor_u2.rs
6
91.98
-1.0% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 15280202362.1 27 May 2025 04:47PM UTC 810
88.26
GitHub Action Run
Source Files on build 15280202362
  • Tree
  • List 810
  • Changed 10
  • Source Changed 4
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15280202362
  • 090a9116 on github
  • Prev Build on main (#15279236676)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc