qiskit.synthesis.synth_clifford_greedy
synth_clifford_greedy(clifford)
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.
Parameters
clifford (Clifford) – a clifford operator.
Returns
a circuit implementation of the Clifford.
Return type
Raises
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]
Was this page helpful?
Report a bug or request content on GitHub.