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

Qiskit / qiskit / 7450083753 / 1
88%
main: 88%

Build:
DEFAULT BRANCH: main
Ran 08 Jan 2024 04:29PM UTC
Files 983
Run time 39s
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

08 Jan 2024 02:57PM UTC coverage: 87.588% (+0.02%) from 87.565%
7450083753.1

push

github

web-flow
Detect duplicates in `QuantumCircuit.compose` (#11451)

* Detect duplicates in `QuantumCircuit.compose`

Previously, `QuantumCircuit.compose` would silently attempt to compose
multiple qubits onto the same state, which would fail in weird ways if
any multi-qubit instructions were acting on these collapsed qubits.

* Ensure error-checking happens before any modification

After the move of `QuantumCircuit.data` to Rust-space, some of the state
modification had started happening before the error checking, which
could potentially leave an in-place modification in a partially applied
state if an exception triggered during processing.

This also ensures that the qubits and clbits arguments are checked, even
if the actual data being composed is empty.

* Delay mutation until the last possible time

59493 of 67924 relevant lines covered (87.59%)

205045.29 hits per line

Source Files on job 7450083753.1
  • Tree
  • List 0
  • Changed 26
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7450083753
  • d48ba00a on github
  • Prev Job for on main (#7447284640.1)
  • Next Job for on main (#7450401284.1)
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