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

Qiskit / qiskit / 11463940771
90%
main: 88%

Build:
Build:
LAST BUILD BRANCH: simplify-py-op-structs
DEFAULT BRANCH: main
Ran 22 Oct 2024 04:14PM UTC
Jobs 1
Files 855
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 03:11PM UTC coverage: 89.765% (+0.02%) from 89.747%
11463940771

push

github

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

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.

(cherry picked from commit 9a1d8d3ae)

Co-authored-by: Jake Lishman <jake.lishman@ibm.com>

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

8 existing lines in 2 files now uncovered.

66899 of 74527 relevant lines covered (89.76%)

217001.26 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11463940771.1 22 Oct 2024 04:14PM UTC 0
89.76
GitHub Action Run
Source Files on build 11463940771
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11463940771
  • fd18b990 on github
  • Prev Build on stable/1.2 (#11334519182)
  • Next Build on stable/1.2 (#11584485967)
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

© 2026 Coveralls, Inc