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

Qiskit / qiskit-terra
86%
main: 87%

Build:
Build:
LAST BUILD BRANCH: sparsepauliop_default_init
DEFAULT BRANCH: main
Repo Added 12 Jun 2019 07:02PM UTC
Files 1268
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

LAST BUILD ON BRANCH mergify/bp/stable/0.25/pr-10469
branch: mergify/bp/stable/0.25/pr-10469
CHANGE BRANCH
x
Reset
  • mergify/bp/stable/0.25/pr-10469
  • dnm-fix-retrigger-wheel-builds
  • jaygambetta-patch-1
  • main
  • mergify/bp/stable/0.24/pr-10126
  • mergify/bp/stable/0.24/pr-10148
  • mergify/bp/stable/0.24/pr-10176
  • mergify/bp/stable/0.24/pr-10373
  • mergify/bp/stable/0.24/pr-10376
  • mergify/bp/stable/0.24/pr-10389
  • mergify/bp/stable/0.24/pr-10395
  • mergify/bp/stable/0.24/pr-10405
  • mergify/bp/stable/0.24/pr-10411
  • mergify/bp/stable/0.24/pr-10419
  • mergify/bp/stable/0.24/pr-10439
  • mergify/bp/stable/0.25/pr-10437
  • mergify/bp/stable/0.25/pr-10438
  • mergify/bp/stable/0.25/pr-10443
  • mergify/bp/stable/0.25/pr-10452
  • mergify/bp/stable/0.25/pr-10455
  • mergify/bp/stable/0.25/pr-10463
  • mergify/bp/stable/0.25/pr-10466
  • mergify/bp/stable/0.25/pr-10471
  • mergify/bp/stable/0.25/pr-10476
  • mergify/bp/stable/0.25/pr-10478
  • mergify/bp/stable/0.25/pr-10479
  • mergify/bp/stable/0.25/pr-10484
  • mergify/bp/stable/0.25/pr-10500
  • mergify/bp/stable/0.25/pr-10503
  • mergify/bp/stable/0.25/pr-10506
  • mergify/bp/stable/0.25/pr-10511
  • mergify/bp/stable/0.25/pr-10512
  • mergify/bp/stable/0.25/pr-10522
  • mergify/bp/stable/0.25/pr-10523
  • mergify/bp/stable/0.25/pr-10530
  • mergify/bp/stable/0.25/pr-10532
  • mergify/bp/stable/0.25/pr-10537
  • mergify/bp/stable/0.25/pr-10538
  • mergify/bp/stable/0.25/pr-10543
  • mergify/bp/stable/0.25/pr-10550
  • mergify/bp/stable/0.25/pr-10555
  • mergify/bp/stable/0.25/pr-10558
  • mergify/bp/stable/0.25/pr-10580
  • mergify/bp/stable/0.25/pr-10598
  • mergify/bp/stable/0.25/pr-10610
  • mergify/bp/stable/0.25/pr-10619
  • mergify/bp/stable/0.25/pr-10639
  • mergify/bp/stable/0.25/pr-10652
  • mergify/bp/stable/0.25/pr-10655
  • mergify/bp/stable/0.25/pr-8967
  • mergify/bp/stable/0.25/pr-9536
  • revert-10124-feature/passmanager-refactoring-pr1
  • revert-10454-revert-pass-manager-module
  • stable/0.23
  • stable/0.24
  • stable/0.25

pending completion
5649957317

push

github

mergify[bot]
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.

(cherry picked from commit e75893d45)

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

72887 of 84842 relevant lines covered (85.91%)

60210.83 hits per line

Relevant lines Covered
Build:
Build:
84842 RELEVANT LINES 72887 COVERED LINES
60210.83 HITS PER LINE
Source Files on mergify/bp/stable/0.25/pr-10469
  • Tree
  • List 1260
  • Changed 27
  • Source Changed 0
  • Coverage Changed 27
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
5649957317 mergify/bp/stable/0.25/pr-10469 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 qualit... push 24 Jul 2023 09:52PM UTC mergify[bot] github pending completion  
See All Builds (26816)
  • Repo on GitHub
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