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

Qiskit / qiskit / 9703107599
88%

Build:
DEFAULT BRANCH: main
Ran 27 Jun 2024 08:45PM UTC
Jobs 1
Files 842
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

27 Jun 2024 07:38PM UTC coverage: 89.74% (-0.02%) from 89.758%
9703107599

push

github

web-flow
Add constant abbreviations for some values and types. (#12651)

This PR introduces some abbreviations for repetitive Rust code. Motivations are reducing
clutter, improving readability, and perhaps modest support for rapid development.

* Use the definition of `const fn 64` that was introduced in #12459 uniformly in all crates.

* Define some complex constants `C_ONE`, `C_ZERO`, `IM`, etc.

* Introduce type definitions for arrays representing gates. For example:
     `GateArray1Q = [[Complex64; 2]; 2];`

112 of 115 new or added lines in 10 files covered. (97.39%)

18 existing lines in 3 files now uncovered.

63798 of 71092 relevant lines covered (89.74%)

306369.77 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
72.2
-0.25% crates/circuit/src/operations.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.27
0.0% crates/accelerate/src/sparse_pauli_op.rs
5
92.62
-0.25% crates/qasm2/src/lex.rs
12
96.69
-0.46% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 9703107599.1 27 Jun 2024 08:45PM UTC 842
89.74
GitHub Action Run
Source Files on build 9703107599
  • Tree
  • List 842
  • Changed 37
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ea5a54b9 on github
  • Prev Build on main (#9698604147)
  • Next Build on main (#9714383578)
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

© 2025 Coveralls, Inc