Readout Scan Tasks

class ReadoutScanTask(dataset_id: str, device_name: str, n_shots: int, qubit: cirq.devices.grid_qubit.GridQubit, resolution_factor: int)

Scan over Ry(theta) angles from -pi/2 to 3pi/2 tracing out a sinusoid which is primarily affected by readout error.

dataset_id

A unique identifier for this dataset.

device_name

The device to run on, by name.

n_shots

The number of repetitions for each theta value.

qubit

The qubit to benchmark.

resolution_factor

We select the number of points in the linspace so that the special points: (-1/2, 0, 1/2, 1, 3/2) * pi are always included. The total number of theta evaluations is resolution_factor * 4 + 1.

Functions

run_readout_scan(task: recirq.readout_scan.tasks.ReadoutScanTask, base_dir=None)

Execute a ReadoutScanTask task.