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

Qiskit / qiskit / 15417604161
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 03 Jun 2025 01:18PM UTC
Jobs 1
Files 823
Run time 115min
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

03 Jun 2025 12:41PM UTC coverage: 87.886% (+0.002%) from 87.884%
15417604161

push

github

web-flow
Porting some of the MCX synthesis methods to Rust (#13929)

* Adding SynthesizedData struct.

This struct is going to be used to represent circuits produced by synthesis algorithms.
Ideally it should be replaced by CircuitData, however at the moment CircuitData has too
high of an overhead.

* Adding num_qubits field

* inlining and temporarily removing dead code warnings

* Adding to_circuit_data method and some other improvements

* Porting synth_c3x to Rust

This is the beginning of porting of (some) of the MCX synthesis methods to Rust.
Here it also serves as a very simple example of using SynthesisData.

* Porting synth_mcx_n_dirty_i15 to rust

* failing attempt to add MCX decomposition based on MCPhase gate

* Improving MCX tests to compare against expected matrices

* failing attempt to get definition

* rewriting in terms of circuit data

* fixes and adding testing

* removing old python code

* renaming

* using def

* adding CircuitData.inverse; implementing c4x

* sync with the Python code

* clean up and fixing some tests

* finalizing tests

* removing unused code

* removing duplicated tests

* cleanup

* removing push_py_gate and push_py_instruction from circuit_data, using push_packed_operation instead

* updating the implementation of CircuitData.compose

* removing from_standard_gate_definition from CircuitData

* not adding h, t, etc. methods to the CircuitData directly. Instead implementing a trait in the synthesis code

* removing pub keyword and making more clear that the CircuitAdder trait is not user-facing

* fixing qasm tests (as expected)

* moving compose and inverse methods from CircuitData to the private trait

* addressing Ray's review comments

* addressing Julien's review comments

* adding add_action_gadget and add_reset_gadget functions

* further simplifying the code

* typos

249 of 261 new or added lines in 3 files covered. (95.4%)

13 existing lines in 4 files now uncovered.

81379 of 92596 relevant lines covered (87.89%)

526895.95 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
12
94.98
crates/synthesis/src/multi_controlled/mcx.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.63
-0.04% crates/synthesis/src/two_qubit_decompose.rs
2
92.23
0.75% crates/qasm2/src/lex.rs
4
74.98
-0.09% crates/circuit/src/symbol_expr.rs
6
96.68
-0.46% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 15417604161.1 03 Jun 2025 01:18PM UTC 823
87.89
GitHub Action Run
Source Files on build 15417604161
  • Tree
  • List 823
  • Changed 8
  • Source Changed 3
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15417604161
  • 56885f09 on github
  • Prev Build on main (#15415448813)
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