Skip to content

Separate PyDAGCircuit and PyCircuitData #15575

@jakelishman

Description

@jakelishman

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.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Ready

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions