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

Qiskit / qiskit / 15712699283
88%

Build:
DEFAULT BRANCH: main
Ran 17 Jun 2025 04:51PM UTC
Jobs 1
Files 829
Run time 9min
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

17 Jun 2025 03:51PM UTC coverage: 88.012% (+0.03%) from 87.981%
15712699283

push

github

web-flow
Port QubitProperties to Rust and integrate with Target module (#14306) (#14563)

* Implement QubitProperties struct and integrate with Target module

- Add QubitProperties struct with __repr__, __getstate__, and __setstate__ methods for Python interoperability.
- Export QubitProperties in target/mod.rs and update Target struct to support qubit_properties.
- Add tests for QubitProperties creation and integration with Target.

* Update imports and expose QubitProperties

* Remove failing QubitProperties test case from mod.rs

* Format Rust code in qubit_properties.rs and mod.rs

* Add test for QubitProperties creation with None fields

* Remove name="QubitProperties" from the macro call in qubit_properties.rs

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>

* Move QubitProperties specific test cases to qubit_properties.rs, minor formatting fixes

* Replace PyObject with QubitProperties for qubit_properties field in Target

* Add tests for setting, getting, and validating qubit_properties in Target

* Remove Python implementation of QubitProperties from backend.py, update target.py to import from _accelerate.target, add signature to Rust implementation

* Fix imports and linting issues

* Revert changes made to QubitProperties imports in target.py and __init__.py, update import in generic_backend_v2.py

* Remove the PyResult wrapper from __getstate__ and __setstate__ in qubit_properties.rs

* Revert changes made to imports in generic_backend_v2.py and transpiler/__init__.py

* Fix: Revert changes in `__init__` file.

---------

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>
Co-authored-by: Raynel Sanchez <raynelfss@hotmail.com>

80 of 93 new or added lines in 3 files covered. (86.02%)

7 existing lines in 3 files now uncovered.

83621 of 95011 relevant lines covered (88.01%)

514882.56 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
13
69.77
crates/transpiler/src/target/qubit_properties.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
73.9
0.21% crates/circuit/src/symbol_expr.rs
1
94.57
0.0% crates/transpiler/src/passes/unitary_synthesis.rs
5
93.23
1.25% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 15712699283.1 17 Jun 2025 04:51PM UTC 829
88.01
GitHub Action Run
Source Files on build 15712699283
  • Tree
  • List 829
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15712699283
  • 088570a6 on github
  • Prev Build on gh-readonly-queue/main/pr-14582-f9caf2d8efa788f33dfb67baa19998ce43d227dd (#15707265374)
  • Next Build on main (#15717740690)
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