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

Qiskit / qiskit / 15164624114
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 21 May 2025 02:59PM UTC
Jobs 1
Files 811
Run time 3min
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.326% (+0.04%) from 88.29%
15164624114

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%)

5 existing lines in 3 files now uncovered.

78427 of 88793 relevant lines covered (88.33%)

459244.01 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
75.58
0.27% crates/circuit/src/symbol_expr.rs
1
94.85
0.0% crates/transpiler/src/passes/unitary_synthesis.rs
3
92.73
1.0% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 15164624114.1 21 May 2025 02:58PM UTC 811
88.33
GitHub Action Run
Source Files on build 15164624114
  • Tree
  • List 811
  • Changed 14
  • Source Changed 10
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15164624114
  • 99aa39e2 on github
  • Prev Build on main (#15162616641)
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