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

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

Build:
DEFAULT BRANCH: main
Ran 23 Apr 2025 09:06PM UTC
Files 802
Run time 30s
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

23 Apr 2025 08:06PM UTC coverage: 87.887% (-0.07%) from 87.954%
14627759099.1

push

github

web-flow
Use `OnceLock` to cache a `NormalOperation` in `Target` (#13995)

* Add: Use `OnceLock` to cache a `NormalOperation` in `Target`
- As we plan to use `PackedOperation` to add instructions to a `Target` in Rust. We should not require having a python instance exists within. The following commits fix that by ensuring that a python instruction is not required, and if so it can be built based on a `PackedOperation`'s internal data.
- This should not have any visible effects on the current implementations, but can be proven to work via the added unit-tests.

* Fix: Address review comments.
- Remove `From` implementations in favor of `from_packed_operation` in both `TargetOperation`, and `NormalOperation`.

* Test: Mover rust conversion testing to Python

* Update crates/accelerate/src/target_transpiler/mod.rs

Co-authored-by: Kevin Hartman <kevin@hart.mn>

* Fix: Propagate `Result` in `create_py_op`

* Fix: Store a `PyResult` for the cached gate

---------

Co-authored-by: Kevin Hartman <kevin@hart.mn>

74245 of 84478 relevant lines covered (87.89%)

435693.32 hits per line

Source Files on job 14627759099.1
  • Tree
  • List 802
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14627759099
  • b35a7099 on github
  • Prev Job for on main (#14619449066.1)
  • Next Job for on main (#14637349697.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