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

Qiskit / qiskit / 16787758326
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 06 Aug 2025 08:56PM UTC
Jobs 1
Files 835
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

06 Aug 2025 08:26PM UTC coverage: 87.625% (-0.03%) from 87.65%
16787758326

push

github

web-flow
Python-free path for circuit parameters (#14799)

* Split py and py-free methods

* playing with Symbol as Parameter

-- 606 failing tests

* fix errors

* about to start the mess

* suite passing

* PVE in Rust

* start assign

* add assign

* dealing with unknown params and conflicts

* an attempt at vector fixing

* fix more tests

- name conflicts
- hash(2.3) == hash(ParamExpr(2.3))
- some error messages

* implement name_map as track record

This allows keeping track of which parameters are still in the expression, even though the expression is optimized. E.g. x*0 = 0, but x is still valid to bind.

* The string debacle

- don't use UUID in to_string, only in string_id (using strings for comparisons should probably be avoided in future)
- clippy
- relax Python is-checks to eq-checks

* some housekeeping

* implement _qpy_replay

* implement sympify

* fix copy/deepcopy

* Implement pickle via QPY and Parameter.assign to return Parameter

* fix template matching

this is rather a temporary solution, maybe we ought to disable string parsing in favor or a proper SymPy->parameter expression conversion

* fix rhs - lhs mixup

* fix more tests on binding {x: 0*y}

* fix last failing tests (see numeric(strict=False))

* clippy

* a lot of docs

* rename PyParameterExpression to ParameterExpression

* Thou shan't fake hyperrefs

* start to pull the thread on Param::ParameterExpression

* proper split: (Py)ParameterExpression

* rm pyclass from Symbol

* TODO's and no more RwLock

- rm Arc<RwLock<..>> for inner, since expressions are immutable and not shared, this is not needed
- address a bunch of todos, that include
  - rm rsub/rdiv/rpow
  - introduce try_to_value and _to_symbol
  - make internal data private

* First round of review comments

mainly removing some unnecessary clones, and fixing Hash for ParameterExpression

* rm `name_map` from PyParameterExpression

--- and just reconstruct the Py symbols from ParameterExpression.name_map

* Fix vector... (continued)

610 of 717 new or added lines in 23 files covered. (85.08%)

39 existing lines in 7 files now uncovered.

81814 of 93368 relevant lines covered (87.63%)

547255.04 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
90.36
-0.11% crates/synthesis/src/evolution/pauli_network.rs
1
78.99
-0.26% crates/transpiler/src/equivalence.rs
1
95.9
-0.71% crates/transpiler/src/passes/basis_translator/compose_transforms.rs
2
87.76
-0.33% crates/transpiler/src/passes/high_level_synthesis.rs
3
74.42
0.07% crates/circuit/src/parameter/symbol_expr.rs
3
91.53
1.86% crates/circuit/src/parameter_table.rs
4
74.16
0.86% crates/qasm3/src/exporter.rs
5
76.09
-1.69% crates/circuit/src/parameter/symbol_parser.rs
7
87.31
-0.91% crates/circuit/src/circuit_instruction.rs
8
90.73
-0.37% crates/synthesis/src/two_qubit_decompose.rs
9
90.7
-2.79% crates/synthesis/src/multi_controlled/mcx.rs
15
91.65
-0.46% crates/circuit/src/circuit_data.rs
22
83.39
0.09% crates/circuit/src/parameter/parameter_expression.rs
26
85.74
-0.6% crates/circuit/src/operations.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.53
1.86% crates/circuit/src/parameter_table.rs
2
85.74
-0.6% crates/circuit/src/operations.rs
2
92.01
0.52% crates/qasm2/src/lex.rs
3
83.39
0.09% crates/circuit/src/parameter/parameter_expression.rs
3
90.7
-2.79% crates/synthesis/src/multi_controlled/mcx.rs
10
74.42
0.07% crates/circuit/src/parameter/symbol_expr.rs
18
96.62
-0.47% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 16787758326.1 06 Aug 2025 08:56PM UTC 835
87.63
GitHub Action Run
Source Files on build 16787758326
  • Tree
  • List 835
  • Changed 27
  • Source Changed 25
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16787758326
  • 8fbd1b51 on github
  • Prev Build on gh-readonly-queue/main/pr-14664-d31e4fa57aa8c9851cdfce71dc9e6c0cd6b3d5bc (#16786877779)
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