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

Qiskit / qiskit / 9694988199
88%

Build:
DEFAULT BRANCH: main
Ran 27 Jun 2024 10:53AM UTC
Jobs 1
Files 841
Run time 17min
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 09:08AM UTC coverage: 89.748% (-0.02%) from 89.77%
9694988199

push

github

web-flow
Implement RGate in Rust (#12662)

* Implement RGate in Rust

* Update crates/circuit/src/operations.rs

Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com>

* Fix error in decomposition of RGate

There is an error in the expression for decomposition of the R gate
in the port to Rust.

This fixes the error and re-enables the skipped test that failed because
of the incorrect expression.

* Factor cloning the Param enum in Rust

To clone the enum, each variant must be handled separately.  This is currently used once,
but can be used each time a `Param` is cloned. In case more work needs to be done within
match arms, one might choose not to use this function, but rather clone in each of these
arms.

* Run cargo fmt

* Implement and use addition for enum Param

This handles `Float` and `ParameterExpression` variants uniformly.

---------

Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com>

38 of 49 new or added lines in 4 files covered. (77.55%)

19 existing lines in 3 files now uncovered.

63830 of 71121 relevant lines covered (89.75%)

302227.93 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
11
72.45
0.1% crates/circuit/src/operations.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.02
-0.24% crates/qasm2/src/expr.rs
6
92.37
-0.25% crates/qasm2/src/lex.rs
12
96.69
-0.92% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 9694988199.1 27 Jun 2024 10:53AM UTC 841
89.75
GitHub Action Run
Source Files on build 9694988199
  • Tree
  • List 841
  • Changed 39
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 64479418 on github
  • Prev Build on gh-readonly-queue/main/pr-12644-39b2c90b813da63d006755580cabd80b718b74bb (#9682311714)
  • Next Build on main (#9698604147)
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