Skip to content

Commit

Permalink
fix doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
renatomello committed Dec 12, 2023
1 parent 8e551cd commit d6b3234
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/source/api-reference/qibo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2132,7 +2132,10 @@ Alternatively, a Clifford circuit can also be executed starting from the :class:

.. code-block:: python
from qibo.quantum_info import Clifford
from qibo.quantum_info import Clifford, random_clifford
nqubits = 2
circuit = random_clifford(nqubits)
result = Clifford.from_circuit(circuit)
Expand Down

0 comments on commit d6b3234

Please sign in to comment.