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

Qiskit / qiskit / 11410626077
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 18 Oct 2024 08:53PM UTC
Jobs 1
Files 891
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

18 Oct 2024 08:33PM UTC coverage: 88.556% (-0.1%) from 88.667%
11410626077

push

github

web-flow
Oxidize `UnitarySynthesis` pass (#13141)

* Inital attempt at oxidizing unitary synthesis.

* Add cacache pygates feature to accelerate

* Use sabre target to speed up preferred_direction

* Adapt code to changes in PackedInstruction

* Use target in preferred_direction

* Some cleanup

* More cleanup

* Apply inline suggestions from  Matt's code review

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

* Apply remaining review suggestions:

 * Fix details after applying inline suggestions
 * Keep TwoQubitWeilDecomposition attributes private. Add getter.
 * Initialize new_blocks using size hint
 * Remove basis_set as it's not used if there is a target.
 * Use ref_qubits ([PhysicalQubit; 2]) instead of wire_map (IndexMap<Qubit, Physicalqubit>)
 * Define static GOODBYE_SET as suggested
 * Use ImportOnceCell for XXDecomposer and XXEmbodiments to avoid importing in a loop.
 * Set preferred_direction without making it mutable.
 * Fix check_goodbye
 * Privatize assets
 * Use the add_global_phase method instead of the private function.
 * Add qs_decomposition to imports
 * Simplify flip_bits
 * Use NormalOperation to pass around decomposer gate and params info
 * First attempt at attaching synth circuits directly
 * Second attempt at attaching synth circuits directly
 * Use edge set for coupling map
 * Avoid exposing internals from NullableIndexMap
 * Use unitary_to_gate_sequence_inner instead of optimize_1q_gates_decomposition.
 * Use concat! in long error message.

* Use dag.apply_operation_back in 1q case. Additional cleanup.

* Don't return ref to float in two qubit decomposer.

* Use PyList as input type for coupling_edges (previous approach was innefficient)

* Avoid using UnitarySynthesisReturn type, avoid intermediate dag creation in all cases except XXDecomposer.

* Refactor appending to out_dag, remove unnecesary clones.

* Cosmetic changes. Reduce indentation.

* Squash bug

* Fix clippy

* Add qsd test

* Avoid making unnecessary variables... (continued)

793 of 860 new or added lines in 6 files covered. (92.21%)

173 existing lines in 4 files now uncovered.

73864 of 83409 relevant lines covered (88.56%)

373663.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
92.15
0.55% crates/accelerate/src/two_qubit_decompose.rs
64
92.24
crates/accelerate/src/unitary_synthesis.rs

Uncovered Existing Lines

Lines Coverage ∆ File
4
91.73
-0.75% crates/qasm2/src/lex.rs
6
88.32
-0.11% crates/circuit/src/dag_circuit.rs
12
97.15
-0.92% crates/qasm2/src/parse.rs
151
61.95
-26.25% qiskit/transpiler/passes/synthesis/unitary_synthesis.py
Jobs
ID Job ID Ran Files Coverage
1 11410626077.1 18 Oct 2024 08:53PM UTC 891
88.56
GitHub Action Run
Source Files on build 11410626077
  • Tree
  • List 891
  • Changed 69
  • Source Changed 8
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11410626077
  • a9b8f4ac on github
  • Prev Build on main (#11383196578)
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