qiskit.transpiler.passes.EchoRZXWeylDecomposition.run¶
- EchoRZXWeylDecomposition.run(dag)[Quellcode]¶
Run the EchoRZXWeylDecomposition pass on dag.
Rewrites two-qubit gates in an arbitrary circuit in terms of echoed cross-resonance gates by computing the Weyl decomposition of the corresponding unitary. Modifies the input dag.
- Parameter
dag (DAGCircuit) – DAG to rewrite.
- Rückgabe
The modified dag.
- Rückgabetyp
- Verursacht
TranspilerError – If the circuit cannot be rewritten.