qiskit.transpiler.passes.EchoRZXWeylDecomposition.run¶
- EchoRZXWeylDecomposition.run(dag)[source]¶
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.
- Paramètres
dag (DAGCircuit) – DAG to rewrite.
- Renvoie
The modified dag.
- Type renvoyé
- Lève
TranspilerError – If the circuit cannot be rewritten.