From 3fac5da41e2aba66e5d0735e9e9e8159b9ba24f2 Mon Sep 17 00:00:00 2001 From: Max Rossmannek Date: Mon, 2 Sep 2024 17:08:20 +0200 Subject: [PATCH] docs: ensure CollectAndCollapse is part of the public API (#13071) --- qiskit/transpiler/passes/__init__.py | 2 ++ qiskit/transpiler/passes/optimization/__init__.py | 1 + 2 files changed, 3 insertions(+) diff --git a/qiskit/transpiler/passes/__init__.py b/qiskit/transpiler/passes/__init__.py index 1feabeaef048..ca4e3545a98b 100644 --- a/qiskit/transpiler/passes/__init__.py +++ b/qiskit/transpiler/passes/__init__.py @@ -71,6 +71,7 @@ Collect1qRuns Collect2qBlocks CollectMultiQBlocks + CollectAndCollapse CollectLinearFunctions CollectCliffords ConsolidateBlocks @@ -238,6 +239,7 @@ from .optimization import TemplateOptimization from .optimization import InverseCancellation from .optimization import EchoRZXWeylDecomposition +from .optimization import CollectAndCollapse from .optimization import CollectLinearFunctions from .optimization import CollectCliffords from .optimization import ResetAfterMeasureSimplification diff --git a/qiskit/transpiler/passes/optimization/__init__.py b/qiskit/transpiler/passes/optimization/__init__.py index a9796850a689..8e2883b27781 100644 --- a/qiskit/transpiler/passes/optimization/__init__.py +++ b/qiskit/transpiler/passes/optimization/__init__.py @@ -39,3 +39,4 @@ from .normalize_rx_angle import NormalizeRXAngle from .optimize_annotated import OptimizeAnnotated from .split_2q_unitaries import Split2QUnitaries +from .collect_and_collapse import CollectAndCollapse