Skip to content

Commit

Permalink
Update doc/source/api-reference/qibo.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Renato Mello <[email protected]>
  • Loading branch information
mho291 and renatomello authored Feb 22, 2024
1 parent 5497b21 commit 5929e79
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions doc/source/api-reference/qibo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2510,11 +2510,8 @@ depolarizing noise as an example.

.. code-block:: python
import qibo
from qibo import models
from qibo import gates
from qibo.noise import NoiseModel
from qibo.noise import DepolarizingError
from qibo import Circuit, models
from qibo.noise import DepolarizingError, NoiseModel
from qibo.tomography.gate_set_tomography import (
GST_execute_circuit,
execute_GST,
Expand All @@ -2524,7 +2521,7 @@ depolarizing noise as an example.
)
# Create the two qubit quantum circuit
circuit = qibo.models.Circuit(2)
circuit = Circuit(2)
circuit.add(gates.H(0))
circuit.add(gates.CNOT(0,1))
circuit.add(gates.M(0))
Expand Down

0 comments on commit 5929e79

Please sign in to comment.