Programmable control of indistinguishable particles: from qubits to clocks to many-body physics