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

Qiskit / qiskit / 8089864040
88%

Build:
DEFAULT BRANCH: main
Ran 29 Feb 2024 02:11AM UTC
Jobs 1
Files 818
Run time 1min
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

29 Feb 2024 01:09AM UTC coverage: 89.302% (+0.008%) from 89.294%
8089864040

push

github

web-flow
Use const arrays for non-normalized basis in unitary synthesis (#11912)

* Use const arrays for non-normalized basis in unitary synthesis

This commit updates the the two_qubit_decompose rust module to use
const arrays for the underlying data in the transform_from_magic_basis
function used as part of computing the weyl coordinates of a unitary.
There was previously a `FIXME` comment to move these to compile time
variables. This commit implements this and removes the comment.

Another FIXME comment is removed about using the built-ins for zero and
one. There is no pattern to support that as the methods to return zero
and one are not const fns, so we can't use them in the context of this
PR. Previously with the dynamically allocated matrix objects we could
have used the `c64.zero()` and `c64.one()` methods from
`num_traits::Zero` and `num_traits::One` respectively (with faer 0.17.0
which added the trait impls) or `c64.faer_zero()` and `c64.faer_one()`,
but now that we've moved these arrays to const objects this no longer
applies.

* Remove stale code comment

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

15 existing lines in 2 files now uncovered.

59120 of 66202 relevant lines covered (89.3%)

243915.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8089864040.1 29 Feb 2024 02:10AM UTC 0
89.3
GitHub Action Run
Source Files on build 8089864040
Detailed source file information is not available for this build.
  • Back to Repo
  • 240f43e9 on github
  • Prev Build on gh-readonly-queue/main/pr-11916-d47a227d982710e7933d744dfd95f6550ff07ed2 (#8089343583)
  • Next Build on main (#8090123354)
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