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

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

Build:
Build:
LAST BUILD BRANCH: unitary-synthesis
DEFAULT BRANCH: main
Ran 08 Jan 2024 03:19PM UTC
Files 983
Run time 26s
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.552% (-0.01%) from 87.565%
7449168608.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

59469 of 67924 relevant lines covered (87.55%)

203669.56 hits per line

Source Files on job 7449168608.1
  • Tree
  • List 0
  • Changed 26
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7449168608
  • d48ba00a on github
  • Prev Job for on gh-readonly-queue/main/pr-11451-32633555d5ecad9a7a5ef09571412ed7ea958846 (#7447284640.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