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

Qiskit / qiskit-terra / 5594502856
87%

Build:
DEFAULT BRANCH: main
Ran 19 Jul 2023 03:36AM UTC
Jobs 1
Files 1265
Run time 16s
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

pending completion
5594502856

push

github

web-flow
Remove `_legacy_format_cache` slot from `CircuitInstruction` (#10417)

This was originally added as a mitigation for performance loss in
consumers of `QuantumCircuit.data` that were still using the legacy
interface.  It is now becoming more critical to minimise memory usage in
the `QuantumCircuit` object, so the extra slot is a luxury we can no
longer afford.

This represents a 12.5% reduction in the inherent memory footprint of
`CircuitInstruction`, though in practice the impact will be smaller,
since the `operation` and `qubits` fields will near-universally have
associated weight themselves (the `clbits` field is _usually_ the empty
tuple, with is a natural singleton untracked by the GC in CPython).
Other ongoing work on making more objects singletons will reduce those
weights, however.

5 of 5 new or added lines in 1 file covered. (100.0%)

72656 of 84430 relevant lines covered (86.05%)

58987.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5594502856.1 19 Jul 2023 03:36AM UTC 0
86.05
GitHub Action Run
Source Files on build 5594502856
Detailed source file information is not available for this build.
  • Back to Repo
  • a804df58 on github
  • Prev Build on main (#5594201913)
  • Next Build on main (#5596811623)
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