tqec.plaquette.qubit.RoundedPlaquetteQubits

class RoundedPlaquetteQubits(orientation: PlaquetteOrientation)[source]
__init__(orientation: PlaquetteOrientation)[source]

Methods

__init__(orientation)

get_data_qubits()

get_data_qubits_cirq()

get_edge_qubits([orientation])

Return the data qubits on the edge of the plaquette.

get_qubits_on_side(side)

Return the qubits one the provided side of the instance.

get_syndrome_qubits()

get_syndrome_qubits_cirq()

permute_data_qubits(permutation)

to_grid_qubit()

Attributes

data_qubits

syndrome_qubits