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

Qiskit / qiskit / 8600064354
88%

Build:
DEFAULT BRANCH: main
Ran 08 Apr 2024 12:45PM UTC
Jobs 1
Files 819
Run time 2min
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 Apr 2024 11:48AM UTC coverage: 89.408% (+0.03%) from 89.38%
8600064354

push

github

web-flow
Add `copy` keyword argument to `QuantumCircuit.append` (#12098)

We always copy compile-time parametric instructions during
`QuantumCircuit.append` to avoid accidental mutation of other references
in a call to `assign_parameters(inplace=True)`.  However, mostly our
rotation gates are added through things like `QuantumCircuit.rz`, where
the only reference to the `RZGate` is internal to the `QuantumCircuit`,
so creating and immediately copying it is a waste of time.

This commit adds a `copy` argument to `QuantumCircuit.append`, so we can
set it to `False` in places where we know we own the instruction being
added.

59 of 62 new or added lines in 3 files covered. (95.16%)

60322 of 67468 relevant lines covered (89.41%)

233902.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8600064354.1 08 Apr 2024 12:44PM UTC 0
89.41
GitHub Action Run
Source Files on build 8600064354
Detailed source file information is not available for this build.
  • Back to Repo
  • 44cbb7ce on github
  • Prev Build on main (#8598608314)
  • Next Build on main (#8606840451)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc