Skip to content

Commit

Permalink
Update qibo.rst
Browse files Browse the repository at this point in the history
Replaced from qibo.tomography.gate_set_tomography import * with from qibo.tomography.gate_set_tomography import (GST_execute_circuit, execute_GST, measurement_basis, prepare_states, reset_register)
  • Loading branch information
mho291 authored Feb 16, 2024
1 parent da539f4 commit 68103c5
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions doc/source/api-reference/qibo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2263,7 +2263,13 @@ Suppose we have a single qubit quantum circuit and we want to perform probabilis
from qibo import gates
from qibo.noise import NoiseModel
from qibo.noise import DepolarizingError
from qibo.tomography.gate_set_tomography import *
from qibo.tomography.gate_set_tomography import (
GST_execute_circuit,
execute_GST,
measurement_basis,
prepare_states,
reset_register,
)

# Create the single qubit quantum circuit
circuit = models.Circuit(1)
Expand Down Expand Up @@ -2316,7 +2322,13 @@ As another example, suppose we have a two qubit quantum circuit that generates a
from qibo import gates
from qibo.noise import NoiseModel
from qibo.noise import DepolarizingError
from qibo.tomography.gate_set_tomography import *
from qibo.tomography.gate_set_tomography import (
GST_execute_circuit,
execute_GST,
measurement_basis,
prepare_states,
reset_register,
)

# Create the two qubit quantum circuit
circuit = qibo.models.Circuit(2)
Expand Down

0 comments on commit 68103c5

Please sign in to comment.