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

Qiskit / qiskit / 10307373210
88%

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

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

95 of 99 new or added lines in 2 files covered. (95.96%)

5 existing lines in 2 files now uncovered.

67375 of 75070 relevant lines covered (89.75%)

384439.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10307373210.1 08 Aug 2024 06:42PM UTC 0
89.75
GitHub Action Run
Source Files on build 10307373210
Detailed source file information is not available for this build.
  • Back to Repo
  • 20b51e68 on github
  • Prev Build on main (#10302737074)
  • Next Build on main (#10324625836)
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