tqec.circuit.operations.operation

Functions

make_detector(measurements, coordinates)

This is a helper function to make a Detector operation with the cirq.VirtualTag tag.

make_observable(measurements[, observable_index])

This is a helper function to make a Observable operation with the cirq.VirtualTag tag.

make_shift_coords(*shifts)

This is a helper function to make a :class:~ShiftCoords operation with the cirq.VirtualTag tag.

Classes

Detector(measurement_data, coordinates)

MX(*qubits)

Measurement in the X-basis.

MeasurementsRecord(measurement_data)

Observable(measurement_data[, observable_index])

RX(*qubits)

Reset in the X-basis.

ShiftCoords(*shifts)