Acquaints each of the qubits with another set specified by an acquaintance gate.

qubits The list of qubits of which half are individually acquainted with another list of qubits.
layers The layers to put gates into.
acquaintance_gate The acquaintance gate that acquaints the end qubit with another list of qubits.
before Whether the acquainting is done before the shift.
swap_gate The gate used to swap logical indices.
mapping The mapping from qubits to logical indices. Used to keep track of the effect of inside-acquainting swaps.