cirq.LineQubit.is_adjacent

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

Determines if two qubits are adjacent line qubits.