Qiskit / qiskit

Qiskit is an open-source SDK for working with quantum computers at the level of extended quantum circuits, operators, and primitives.
https://www.ibm.com/quantum/qiskit
Apache License 2.0
4.82k stars 2.29k forks source link

Implement RGate in Rust #12662

Closed jlapeyre closed 4 days ago

jlapeyre commented 5 days ago

This completes all tasks of implementing RGate in Rust rather than Python.

This replaces

12507 has been modified and split into the present PR and #12651

qiskit-bot commented 5 days ago

One or more of the following people are relevant to this code:

coveralls commented 5 days ago

Pull Request Test Coverage Report for Build 9673800273

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
crates/circuit/src/operations.rs 3 33 9.09%
<!-- Total: 17 47 36.17% -->
Files with Coverage Reduction New Missed Lines %
crates/qasm2/src/lex.rs 2 92.37%
<!-- Total: 2 -->
Totals Coverage Status
Change from base Build 9661630219: -0.007%
Covered Lines: 63783
Relevant Lines: 71097

💛 - Coveralls
coveralls commented 5 days ago

Pull Request Test Coverage Report for Build 9681898421

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
crates/circuit/src/operations.rs 3 33 9.09%
<!-- Total: 17 47 36.17% -->
Files with Coverage Reduction New Missed Lines %
crates/qasm2/src/lex.rs 3 92.37%
qiskit/synthesis/discrete_basis/solovay_kitaev.py 4 94.74%
qiskit/providers/fake_provider/generic_backend_v2.py 10 94.71%
<!-- Total: 17 -->
Totals Coverage Status
Change from base Build 9661630219: 0.004%
Covered Lines: 63798
Relevant Lines: 71105

💛 - Coveralls
coveralls commented 4 days ago

Pull Request Test Coverage Report for Build 9688190770

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
crates/circuit/src/operations.rs 24 35 68.57%
<!-- Total: 38 49 77.55% -->
Files with Coverage Reduction New Missed Lines %
qiskit/transpiler/passes/synthesis/unitary_synthesis.py 2 88.2%
crates/qasm2/src/lex.rs 7 92.11%
crates/qasm2/src/parse.rs 18 96.69%
<!-- Total: 27 -->
Totals Coverage Status
Change from base Build 9683280067: -0.04%
Covered Lines: 63828
Relevant Lines: 71121

💛 - Coveralls