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

Qiskit / qiskit / 13163669616
88%

Build:
DEFAULT BRANCH: main
Ran 05 Feb 2025 06:29PM UTC
Jobs 1
Files 907
Run time 3min
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

05 Feb 2025 05:19PM UTC coverage: 88.661% (-0.007%) from 88.668%
13163669616

push

github

web-flow
Port standard instructions to Rust. (#13486)

* Extend PackedOperation for standard instructions.

* WIP

* Compiling.

* Add missing module registration.

* Implement Operation::directive

* Add StandardInstructionType enum.

* Expose only StandardInstructionType to Python.

This way, we can also use this enum to tag the Python classes.

* Fix unit access.

* Remove no longer needed enum variant parens.

* Remove unused stuff.

* Fix up packed_instruction docs, add From<StandardInstruction>.

* Fix up imports.

* Improve comments in circuit_instruction.

* Fix typo.

* More doc fixes.

* Reorganize PackedInstruction mem layout to support 32 bit archs.

* Update layout description, cleanup.

* Revert "Update layout description, cleanup."

This reverts commit b6d8f929a.

* Revert "Reorganize PackedInstruction mem layout to support 32 bit archs."

This reverts commit 6049498ba.

* Use bitfield-struct crate for PackedOperation.

Trying out a neat crate for Rust bitfields. The caveats are:

* Custom enums used in the bitfield must specify const funcs for bit
  conversion, and bytemuck's cast functions aren't const.
* The bitfield crate implements Clone for you, but does not seem to have
  a way to disable this. We can't rely on their clone, since for pointer
  types we need to allocate a new Box. To get around this,
  PackedOperation is a wrapper around an internal bitfield struct
  (rather than being a bitfield struct itself).

(Note: I'm not yet happy with this. Specifically, I think the
abstraction may be cleaner if OpBitField is defined entirely in terms of
raw native types and any reinterpretation / transmutation is done from
PackedOperation. Consider this a first pass.)

* Pivot.

* Compiling.

* Remove unused bytemuck stuff.

* Run format.

* Improve static assertion error messages.

* Clean up.

* Implement delay unit for ImmediateValue.

* Finish implementing PointerBits for 32 bit.

I... (continued)

392 of 441 new or added lines in 21 files covered. (88.89%)

11 existing lines in 8 files now uncovered.

79237 of 89371 relevant lines covered (88.66%)

350926.62 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
92.05
0.0% crates/accelerate/src/synthesis/multi_controlled/mcmt.rs
1
89.41
0.05% crates/circuit/src/dag_circuit.rs
4
81.43
-0.33% crates/accelerate/src/target_transpiler/mod.rs
13
93.51
-1.28% crates/circuit/src/packed_instruction.rs
30
89.0
-0.61% crates/circuit/src/operations.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
97.34
-0.24% crates/accelerate/src/gate_direction.rs
1
89.41
0.05% crates/circuit/src/dag_circuit.rs
1
97.62
-0.34% crates/accelerate/src/twirling.rs
1
92.97
0.0% crates/accelerate/src/unitary_synthesis.rs
1
94.23
-0.23% crates/qasm2/src/expr.rs
1
89.0
-0.61% crates/circuit/src/operations.rs
2
93.51
-1.28% crates/circuit/src/packed_instruction.rs
3
91.98
-0.25% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 13163669616.1 05 Feb 2025 06:29PM UTC 907
88.66
GitHub Action Run
Source Files on build 13163669616
  • Tree
  • List 907
  • Changed 79
  • Source Changed 22
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13163669616
  • 73409fb4 on github
  • Prev Build on gh-readonly-queue/main/pr-13758-1ef0d7957cde5d6ad7df640632b73371c118b265 (#13159070819)
  • Next Build on main (#13165103262)
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