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

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

Build:
DEFAULT BRANCH: main
Ran 08 Aug 2024 06:42PM UTC
Files 859
Run time 39s
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 Aug 2024 05:34PM UTC coverage: 89.75% (+0.01%) from 89.739%
10307373210.1

push

github

web-flow
Directly construct CircuitData in TwoQubitWeylDecomposition (#12809)

* Directly construct CircuitData in TwoQubitWeylDecomposition

In the recently merged #12740 a path was added for constructing the
`CircuitData` in rust when synthesizing to a `QuantumCircuit`
directly. However, in that PR this was done through a layer of
indirection by first collecting the gates into an intermediate `Vec`
and then passing an iterator of that into
`CircuitData::from_standard_gates()`. However this resulted in an
unecessary allocation for two `Vec`s and it would have been better
to just directly construct the `CircuitData` object directly. However,
to accomplish this we needed more rust space methods for creating
and manipulating a `CircuitData` object as it's mostly being constructed
from Python space or using `CircuitData::from_standard_gates()` with
an iterator so far. This commit makes those additions and then updates
the `TwoQubitWeylDecomposition` code to directly construct the
`CircuitData` object instead of using an intermediate `Vec`.

* Use set_global_phase instead of direct assignment

* Use slice inputs for push_standard_gate() params and qargs

67375 of 75070 relevant lines covered (89.75%)

384439.97 hits per line

Source Files on job 10307373210.1
  • Tree
  • List 0
  • Changed 48
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10307373210
  • 20b51e68 on github
  • Prev Job for on main (#10302737074.1)
  • Next Job for on main (#10324625836.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