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

Qiskit / qiskit / 7449168608
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: parallel-o1qgd
DEFAULT BRANCH: main
Ran 08 Jan 2024 03:19PM UTC
Jobs 1
Files 983
Run time 1min
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

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

Jobs
ID Job ID Ran Files Coverage
1 7449168608.1 08 Jan 2024 03:19PM UTC 0
87.55
GitHub Action Run
Source Files on build 7449168608
Detailed source file information is not available for this build.
  • Back to Repo
  • d48ba00a on github
  • Prev Build on gh-readonly-queue/main/pr-11431-733e2a336760a18b324ec3830ce767da210d6b9d (#7447284640)
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