# How do you CNOT between qubits faraway from each other?

I'm just curious. Say I have 3 qubits on a straight line 0-1-2. How do you guys (on the IBMQ or Rigetti team for example, or anyone who actually works on quantum computer) entangle 0-2 if I, say, am busy on the 1 qubit already (maybe I already have a CNOT between 0-1)? Is there a circuit for it, or is it purely hardware technique with no circuit equivalent? Say if I have:

2-1-0-3
| |
4-5


would it be better to CNOT 0 with 2, or 0 with 5, given that they have the same distance? Thank you!

• If the two qubits are connected physically, why it should not be possible to put two qubits gate on them regardless there are other gates connected to these qubits but via another connections? Aug 7 '20 at 6:12