State Tomographies#
Parameters#
- class qibocal.protocols.state_tomography.StateTomographyParameters(circuit: Optional[Union[str, Circuit]] = None)[source]
Tomography input parameters
- circuit: Optional[Union[str, Circuit]] = None
Circuit to prepare initial state.
It can also be provided the path to a json file containing a serialized circuit.
- hardware_average: bool = False
By default hardware average will be performed.
- nshots: int
Number of executions on hardware.
- relaxation_time: float
Wait time for the qubit to decohere back to the gnd state.
Example#
Below is an example runcard for this experiment.
- id: state_tomography
operation: state_tomography
parameters:
nshots: 1024
relaxation_time: 200000
The expected output is the following:
Qibocal also provides two qubit state tomography.
- id: tomography
operation: two_qubit_state_tomography
parameters:
nshots: 5000
The report will look like the following.