qiskit.synthesis.synth_clifford_greedy¶
- synth_clifford_greedy(clifford)[Quellcode]¶
Decompose a Clifford operator into a QuantumCircuit based on the greedy Clifford compiler that is described in Appendix A of Bravyi, Hu, Maslov and Shaydulin.
This method typically yields better CX cost compared to the Aaronson-Gottesma method.
- Parameter
clifford (Clifford) – a clifford operator.
- Rückgabe
a circuit implementation of the Clifford.
- Rückgabetyp
- Verursacht
QiskitError – if symplectic Gaussian elimination fails.
- Reference:
Sergey Bravyi, Shaohan Hu, Dmitri Maslov, Ruslan Shaydulin, Clifford Circuit Optimization with Templates and Symbolic Pauli Gates, arXiv:2105.02291 [quant-ph]