Skip to content

Transpiler pass to replace boxes by their contents? #14468

@aeddins-ibm

Description

@aeddins-ibm

What should we add?

A user might set up BoxOps as "scaffolding" to organize some circuit manipulations, then want to get rid of the boxes.

Can we have (or is there already) a transpiler pass that replaces each BoxOp by its body? This could have an option to either act recursively to unpack all (potentially-nested?) boxes, or to just unpack the top-level of boxes.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions