slicing

Utility methods for circuit slicing.

For more information, check out the how-to guide which discusses this submodule.

combine_slices

Combine N-qubit slices of a circuit into a single circuit.

slice_by_barriers

Split a QuantumCircuit into slices around full-circuit barriers.

slice_by_coloring

Split a QuantumCircuit into slices using the provided edge coloring.

slice_by_depth

Split a QuantumCircuit into slices based on depth.

slice_by_gate_types

Split a QuantumCircuit into depth-1 slices of operations of the same type.

Submodules

transpiler

A submodule with transpiler utilities for slicing.