cirq.contrib.acquaintance.strategies.quartic_paired.qubit_pairs_to_qubit_order

Takes a sequence of qubit pairs and returns a sequence in which every pair is at distance two.

Specifically, given pairs (1a, 1b), (2a, 2b), etc. returns (1a, 2a, 1b, 2b, 3a, 4a, 3b, 4b, ...).