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

Qiskit / qiskit / 11460709254
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-15242-97bca22b256edfd14d1b403a30de1efef2453eb5
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

Jobs
ID Job ID Ran Files Coverage
1 11460709254.1 22 Oct 2024 01:19PM UTC 0
88.64
GitHub Action Run
Source Files on build 11460709254
Detailed source file information is not available for this build.
  • 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

© 2026 Coveralls, Inc