Block¶
- class guppyft.code.iceberg.logical.Block[source]¶
-
- all_but_one_rx(i: int, phase: float) None[source]¶
Rx rotation of phase radians on qubits except that with index i.
- all_but_one_rz(i: int, phase: float) None[source]¶
Rz rotation of phase radians on qubits except that with index i.
- measure_syndrome() tuple[Measurement, Measurement][source]¶
Syndrome measurement.
- try_measure_one_x(i: int) Option[Measurement][source]¶
Fallible non-destructive measurement in the X basis of the qubit with index i.
- try_measure_one_z(i: int) Option[Measurement][source]¶
Fallible non-destructive measurement in the Z basis of the qubit with index i.
- xx_phase(i: int, j: int, phase: float) None[source]¶
XXPhase rotation of phase radians on the qubits with indices i and j.