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

Qiskit / qiskit-terra / 5649952247
87%

Build:
DEFAULT BRANCH: main
Ran 24 Jul 2023 10:12PM UTC
Jobs 1
Files 1267
Run time 17s
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

pending completion
5649952247

push

github

web-flow
Fix empty-barrier handling in OpenQASM 2 (#10469)

The new parser would allow a `barrier;` statement, implicitly
broadcasting it across all qubits in scope.  This is technically not
supported by the OpenQASM 2 specification, but is a useful
quality-of-life extension to the specification (in the same way that
Qiskit interprets barriers, and the OpenQASM 3 specification defines the
`barrier;` statement).  The precise rule is added to the new parser's
`strict` mode.

The OpenQASM 2 _exporter_ similarly should not have been putting out
`barrier;` statements.  These could only occur in Qiskit when a barrier
was explicitly constructed with zero elements (as opposed to the call
`QuantumCircuit.barrier()`, which has the all-in-scope behaviour), and
consequently have no actual meaning or effect.  The exporter is modified
to simply skip such instructions, for as long as Qiskit permits the
qubitless barrier statement.

11 of 11 new or added lines in 2 files covered. (100.0%)

73037 of 84997 relevant lines covered (85.93%)

60166.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5649952247.1 24 Jul 2023 10:12PM UTC 0
85.93
GitHub Action Run
Source Files on build 5649952247
Detailed source file information is not available for this build.
  • Back to Repo
  • e75893d4 on github
  • Prev Build on gh-readonly-queue/main/pr-10484-802a735ebea547d0d96339c2de4a10f04b0ab8a6 (#5648980794)
  • Next Build on main (#5650234341)
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