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

Qiskit / qiskit / 15712081129
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: add-litinski-to-asv
DEFAULT BRANCH: main
Ran 17 Jun 2025 04:23PM UTC
Jobs 1
Files 829
Run time 5min
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: 87.981%. Remained the same
15712081129

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%)

16 existing lines in 3 files now uncovered.

83592 of 95011 relevant lines covered (87.98%)

514297.8 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
94.57
0.0% crates/transpiler/src/passes/unitary_synthesis.rs
3
92.23
0.25% crates/qasm2/src/lex.rs
12
96.22
-0.46% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 15712081129.1 17 Jun 2025 04:23PM UTC 829
87.98
GitHub Action Run
Source Files on build 15712081129
  • 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 #15712081129
  • 088570a6 on github
  • Prev Build on gh-readonly-queue/main/pr-14582-f9caf2d8efa788f33dfb67baa19998ce43d227dd (#15707265374)
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