cirq.GridQubit.is_adjacent

GridQubit.is_adjacent(other: cirq.ops.raw_types.QubitId) → bool[source]

Determines if two qubits are adjacent qubits.