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

Qiskit / qiskit / 8089460306
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: rust_qpy
DEFAULT BRANCH: main
Ran 29 Feb 2024 01:24AM UTC
Jobs 1
Files 818
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

29 Feb 2024 01:09AM UTC coverage: 89.321% (+0.03%) from 89.294%
8089460306

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%)

3 existing lines in 1 file now uncovered.

59132 of 66202 relevant lines covered (89.32%)

243138.56 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
3
91.94
-0.25% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 8089460306.1 29 Feb 2024 01:24AM UTC 818
89.32
GitHub Action Run
Source Files on build 8089460306
  • Tree
  • List 818
  • Changed 29
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 240f43e9 on github
  • Prev Build on gh-readonly-queue/main/pr-11916-d47a227d982710e7933d744dfd95f6550ff07ed2 (#8089343583)
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