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

Qiskit / qiskit / 11460709254
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 22 Oct 2024 01:19PM UTC
Jobs 1
Files 892
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

22 Oct 2024 12:59PM UTC coverage: 88.64% (+0.002%) from 88.638%
11460709254

push

github

web-flow
Fix OpenQASM 2 `gate` definitions following a shadowed built-in `gate` (#13340)

Previously, when given an OpenQASM 2 program such as

    OPENQASM 2.0;
    gate builtin a { U(0, 0, 0) a; }
    gate not_builtin a { U(pi, pi, pi) a; }
    qreg q[1];

    not_builtin q[0];

and a set of `custom_instructions` including a `builtin=True` definition
for `builtin` (but not for `not_builtin`), the Rust and Python sides
would get themselves out-of-sync and output a gate that matched a prior
definition, rather than `not_builtin`.

This was because the Rust side was still issuing `DefineGate` bytecode
instructions, even for gates whose OpenQASM 2 definitions should have
been ignored, so Python-space thought there were more gates than
Rust-space thought there were.

6 of 6 new or added lines in 1 file covered. (100.0%)

11 existing lines in 4 files now uncovered.

74577 of 84135 relevant lines covered (88.64%)

364195.81 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
92.24
0.0% crates/accelerate/src/unitary_synthesis.rs
1
94.02
-0.24% crates/qasm2/src/expr.rs
3
91.73
0.0% crates/qasm2/src/lex.rs
6
97.15
-0.46% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 11460709254.1 22 Oct 2024 01:19PM UTC 892
88.64
GitHub Action Run
Source Files on build 11460709254
  • Tree
  • List 892
  • Changed 70
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11460709254
  • 9a1d8d3a on github
  • Prev Build on gh-readonly-queue/main/pr-12671-35c03913e4fae622f3ea0e68ba22f919dca103f9 (#11459841372)
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