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

Qiskit / qiskit / 10746409644
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 06 Sep 2024 11:31PM UTC
Jobs 1
Files 879
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

06 Sep 2024 11:08PM UTC coverage: 89.151% (+0.02%) from 89.128%
10746409644

push

github

web-flow
Fully port InverseCancellation to Rust (#13013)

* Fully port InverseCancellation to Rust

This commit builds off of #12959 and the other data model in Rust
infrastructure and migrates the InverseCancellation pass to
operate fully in Rust. The full path of the transpiler pass now never
leaves Rust until it has finished modifying the DAGCircuit. There is
still some python interaction necessary to handle parts of the data
model that are still in Python, mainly for handling parameter
expressions. But otherwise the entirety of the pass
operates in rust now.

This is just a first pass at the migration here, it moves the pass to
use loops in rust. The next steps here are to look at operating
the pass in parallel. There is no data dependency between the
optimizations being done for different inverse gates/pairs so we should
be able to the throughput of the pass by leveraging multithreading to
handle each inverse option in parallel. This commit does not attempt
this though, because of the Python dependency and also the data
structures around gates and the dag aren't really setup for
multithreading yet and there likely will need to be some work to
support that.

Fixes #12271
Part of #12208

* Remove temporary variable for chunk empty check

* Destructure gate pairs

* Rework short circuit logic

181 of 189 new or added lines in 5 files covered. (95.77%)

14 existing lines in 4 files now uncovered.

72877 of 81746 relevant lines covered (89.15%)

387652.93 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
88.94
0.02% crates/circuit/src/dag_circuit.rs
6
95.83
crates/accelerate/src/inverse_cancellation.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.02
-0.24% crates/qasm2/src/expr.rs
2
88.43
-0.36% qiskit/transpiler/passes/synthesis/unitary_synthesis.py
5
92.23
-0.25% crates/qasm2/src/lex.rs
6
90.84
-4.58% qiskit/synthesis/two_qubit/xx_decompose/decomposer.py
Jobs
ID Job ID Ran Files Coverage
1 10746409644.1 06 Sep 2024 11:31PM UTC 879
89.15
GitHub Action Run
Source Files on build 10746409644
  • Tree
  • List 879
  • Changed 59
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 94ba19e9 on github
  • Prev Build on gh-readonly-queue/main/pr-13030-3d4bab2be7fd09f6dcf734a3386355cae6cded39 (#10745091355)
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