cirq.LineQubit¶
-
class
cirq.LineQubit(x: int)[source]¶ A qubit on a 1d lattice with nearest-neighbor connectivity.
Methods
is_adjacent(other)Determines if two qubits are adjacent line qubits. range(*range_args)Returns a range of line qubits.
cirq.LineQubit(x: int)[source]¶A qubit on a 1d lattice with nearest-neighbor connectivity.
Methods
is_adjacent(other) |
Determines if two qubits are adjacent line qubits. |
range(*range_args) |
Returns a range of line qubits. |