Ran
|
Jobs
1
|
Files
1113
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
Oxidize `QuantumCircuit._data` and intern `CircuitInstruction` args (#10827) * Initial commit. * Fix bugs with slicing impl. * Fix sort, remove dead code. * Use custom cfg flag for debug. * Run fmt. * Add todo. * Revert utils change, not needed anymore. * Use CircuitData in compose. * Revert test stub. * Remove once_cell. Not needed anymore. * Run format. * Fix lint issues. * Use PyTuple in ElementType. * Use native list and dict types for lookup tables. * Implement __traverse__ and __clear__. * Take iterable for extend. Preallocate. * Fix insertion indexing behavior. * Fix typo. * Avoid possible hash collisions in InternContext. * Use () instead of None for default iterable. * Resolve copy share intern context TODO. * Use () instead of empty list in stubed lists. * Use u32 for IndexType. * Resolve TODO in if_else.py. * Fix Rust lint issues. * Add unit testing for InternContext. * Remove print logging. * Fix bug introduced during print removal. * Add helper methods for getting the context in CircuitData. * Fix issue with BlueprintCircuit. * Workaround for CircuitInstruction operation mutability. Fix lint. * Revert "Workaround for CircuitInstruction operation mutability." This reverts commit 21f3e514f. * Add _add_ref to InstructionSet. Allows in-place update of CircuitInstruction.operation within a CircuitData. * Exclude CircuitData::intern_context from GC clear. * Fix lint. * Avoid copy into list. * Override __deepcopy__. * Override __copy__ to avoid pulling CircuitData into a list. * Implement copy for CircuitData. * Port CircuitInstruction to Rust. * Use Rust CircuitInstruction. * Optimize circuit_to_instruction.py * Use freelist for CircuitInstruction class. * Remove use count, fix extend, InternContext internal. Previously CircuitData::extend would construct CircuitInstruction instances in memory for the entire iterable. Now, a GILPool is created for each iteration of t... (continued)
610 of 684 new or added lines in 14 files covered. (89.18%)
18 existing lines in 3 files now uncovered.66341 of 77263 relevant lines covered (85.86%)
248877.5 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
80.0 |
crates/accelerate/src/quantum_circuit/mod.rs | |
1 |
90.78 |
-0.02% | qiskit/circuit/quantumcircuit.py |
3 |
88.89 |
crates/accelerate/src/quantum_circuit/intern_context.rs | |
7 |
86.15 |
-2.98% | qiskit/circuit/instructionset.py |
12 |
82.28 |
-3.57% | qiskit/circuit/quantumcircuitdata.py |
23 |
85.98 |
crates/accelerate/src/quantum_circuit/circuit_instruction.rs | |
27 |
92.62 |
crates/accelerate/src/quantum_circuit/circuit_data.rs |
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
93.76 |
-0.24% | crates/qasm2/src/expr.rs |
5 |
90.91 |
-0.25% | crates/qasm2/src/lex.rs |
12 |
96.2 |
-0.93% | crates/qasm2/src/parse.rs |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 6934453914.1 | 1113 |
85.86 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|