mirror of https://github.com/Qiskit/qiskit.git
![]() * 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> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
README.md
`qiskit-transpiler
The Rust-based transpiler functionality. It contains transpilation specific data models and transpiler functions for individual transpiler passes.
src/target module
This module defines the target model in Qiskit used for representing a compilation Target.
src/passes module
This module contains the transpiler pass implementations.