What should we add?
We should have separate pyclass wrappers for the internals of these types, so that Python-specific concerns (e.g. legacy qubit_indices etc) objects can move out of the core Rust components.
We will likely want the Python wrappers to permit (safe / runtime-checked) shared access to the internal Rust-native object, so we can provide "views" of existing Rust objects, like the control-flow blocks.
What should we add?
We should have separate
pyclasswrappers for the internals of these types, so that Python-specific concerns (e.g. legacyqubit_indicesetc) objects can move out of the core Rust components.We will likely want the Python wrappers to permit (safe / runtime-checked) shared access to the internal Rust-native object, so we can provide "views" of existing Rust objects, like the control-flow blocks.