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 05e666e commit 5497b21
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions doc/source/api-reference/qibo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2450,10 +2450,8 @@ calibration. We import 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, gates
from qibo.noise import DepolarizingError, NoiseModel
from qibo.tomography.gate_set_tomography import (
GST_execute_circuit,
execute_GST,
Expand All @@ -2463,7 +2461,7 @@ calibration. We import depolarizing noise as an example.
)
# Create the single qubit quantum circuit
circuit = models.Circuit(1)
circuit = Circuit(1)
circuit.add(gates.H(0))
circuit.add(gates.RX(0, np.pi/7))
circuit.add(gates.M(0))
Expand Down

0 comments on commit 5497b21

Please sign in to comment.