qiskit.transpiler.passes.TemplateOptimization.run¶
- TemplateOptimization.run(dag)[소스]¶
- 매개변수
dag (DAGCircuit) – DAG circuit.
- 반환
optimized DAG circuit.
- 반환 형식
- 예외 발생
TranspilerError – If the template has not the right form or if the output circuit acts differently as the input circuit.