app.processing.optimize ======================= .. py:module:: app.processing.optimize .. autoapi-nested-parse:: Optimize the modeled graph by adding additional ancilla connections and decide whether to uncompute. Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/app/processing/optimize/algos/index Package Contents ---------------- .. py:class:: ApplyUncomputeTransformer(enable: bool) Enable or remove uncompute-blocks in visited AST. .. py:function:: optimize(graph: app.processing.graph.ProgramGraph) -> None Optimize the given graph in-place based on :class:`~app.processing.graph.IOInfo`. :param graph: Graph of all nodes representing the program