app.transformation_manager.optimize
Optimize the modeled graph by adding additional ancilla connections and decide whether to uncompute.
Submodules
Package Contents
- class app.transformation_manager.optimize.ApplyUncomputeTransformer(enable: bool)
Enable or remove uncompute-blocks in visited AST.
- Parameters:
enable (bool)
- app.transformation_manager.optimize.optimize(graph: app.transformation_manager.graph.ProgramGraph) None
Optimize the given graph in-place based on
IOInfo.- Parameters:
graph (app.transformation_manager.graph.ProgramGraph) – Graph of all nodes representing the program
- Return type:
None