mirror of https://github.com/Qiskit/qiskit.git
![]() This commit cleans up the submodule usage in our rust extension. We shouldn't be using the pymodule attribute for submodules. This also cleans up the submodule in the basis translator which was unnecessarily two layers deep and also duplicated in the init file. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
README.md
qiskit-pyext
This is the Rust crate that actually builds the qiskit._accelerate
Python extension module.
See the README at the crates
top level for more information on the structure.
Any self-contained submodule crates (e.g. qasm2
) can define their own pymodule
, but they should compile only as an rlib, and this crate should then build them into the top-level qiskit._accelerate
.
This module is also responsible for rewrapping all of the bits-and-pieces parts of crates/accerelate
into the qiskit._accelerate
extension module.