We're celebrating World Quantum Day 2022! Join us

cirq.contrib.circuit_to_latex_using_qcircuit

Returns a QCircuit-based latex diagram of the given circuit.

circuit The circuit to represent in latex.
qubit_order Determines the order of qubit wires in the diagram.

Latex code for the diagram.