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

Qiskit / qiskit / 8303909952
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 16 Mar 2024 12:48AM UTC
Jobs 1
Files 820
Run time 1min
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

16 Mar 2024 12:31AM UTC coverage: 89.3% (-0.008%) from 89.308%
8303909952

push

github

web-flow
Use pickle `__reduce__` for `TwoQubitWeylDecomposition` (#12003)

Since this class does complicated calculation within its `__new__`
method (as many extension classes do), we want to use an alternative
extension-module constructor for the object on unpickle, to avoid
leaking the "pickle" / "no pickle" state through the default
constructor.

This implements a private Python-space method that directly constructs
the object from components, which is then used as the `__reduce__`
target, along with the pickle state.

76 of 92 new or added lines in 2 files covered. (82.61%)

13 existing lines in 4 files now uncovered.

59789 of 66953 relevant lines covered (89.3%)

246258.85 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
90.86
-0.53% crates/accelerate/src/two_qubit_decompose.rs
12
91.05
0.47% crates/accelerate/src/euler_one_qubit_decomposer.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.81
-0.24% crates/qasm2/src/expr.rs
1
91.05
0.47% crates/accelerate/src/euler_one_qubit_decomposer.rs
5
91.44
-0.76% crates/qasm2/src/lex.rs
6
97.62
0.0% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 8303909952.1 16 Mar 2024 12:48AM UTC 820
89.3
GitHub Action Run
Source Files on build 8303909952
  • Tree
  • List 820
  • Changed 28
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6e280c1a on github
  • Prev Build on gh-readonly-queue/main/pr-12022-2369761916b8f889e93648a28bee11675ee52c2f (#8303158195)
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