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

Qiskit / qiskit / 15166333040
88%

Build:
DEFAULT BRANCH: main
Ran 21 May 2025 04:11PM UTC
Jobs 1
Files 811
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

21 May 2025 02:16PM UTC coverage: 88.323% (+0.03%) from 88.29%
15166333040

push

github

web-flow
Clifford+T transpiler pipeline (#14225)

* experiments

* experiment

* clifford plugin

* optimization

* optimization loop

* remove consolidate

* Fix _compute_rotation_axis method

The method used to return [0, 0, 0] for rotation axis when theta is very close to 0 (and yet not within 1e010).
This commit fixes this by noting that the rotation axis of an SO(3) matrix is simply the eigenvector of this
matrix corresponding to eigenvalue 1.

* Fixes related to SU(2) vs. SO(3)

The implemented algorithm has a global phase uncertainty of +-1, due to approximating not the
original SU(2) matrix but its projection onto SO(3). This fixes the global phase of the
computed approximation.

In addition, the product_su2 matrix in GateSequence was not correctly computed in many cases,
leading to incorrect values when using this attribute. Since this is not needed for the actual
algorithm (and spends unnecessary effort for computing it), this also completely removes this
attribute.

Co-authored-by: Almudena Carrera Vazquez <almudenacarreravazquez@hotmail.com>

* Fix the tests.

One of the tests was simply wrong because the reference circuit has the wrong global phase.
The tests that check the gates in the final decomposition should not assume that SGate is included and SdgGate is not.

* reno

* fix to the global phase

* bug fix (forgetting that gate_matrix_su2 is not SU(2) was a sequence)

* adding test

* Undoing changes to SK

* cleanup

* Adding tests for discrete pass manager pipeline

* adding generate_discrete_passmanager to init files

* simplifying import

* another test

* release note

* Fixing tests: with the change to SK plugin, the synthesis algorithm for unitary gates that are Clifford may produce other gates

* In SolovayKitaevSynthesis unitary synthesis plugin now storing a dictionary from the basis set to the SolovayKitaevDecomposition

* adding explicit test

* lint

* remove prints

* renaming

* modifying the default init/translation/optimizati... (continued)

64 of 68 new or added lines in 7 files covered. (94.12%)

8 existing lines in 3 files now uncovered.

78425 of 88793 relevant lines covered (88.32%)

457733.31 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
95.22
0.05% qiskit/transpiler/preset_passmanagers/builtin_plugins.py
3
84.24
-0.26% qiskit/transpiler/preset_passmanagers/common.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.23
1.5% crates/qasm2/src/lex.rs
1
94.85
0.0% crates/transpiler/src/passes/unitary_synthesis.rs
6
97.61
0.93% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 15166333040.1 21 May 2025 04:11PM UTC 811
88.32
GitHub Action Run
Source Files on build 15166333040
  • Tree
  • List 811
  • Changed 15
  • Source Changed 10
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15166333040
  • 99aa39e2 on github
  • Prev Build on main (#15162616641)
  • Next Build on main (#15166690574)
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