One aspect of this disclosure relates to a method for operating a quantum computing device. A request to execute a first n-qubit gate on a set of n target qubits is received at the quantum computing device. The receiving a request to execute a first n-qubit gate on a set of n target qubits, the n-qubit gate including one or both of a diagonal gate and a diagonal gate conjugated by a multi-qubit Clifford gate. A set of n interface qubits on which to perform the first n-qubit gate is identified, the set of n interface qubits located remotely from the set of n target qubits. A joint Z-Z measurement is executed on each target qubit and its corresponding interface qubit via a pre-established entanglement. The first n-qubit gate is executed on the set of n interface qubits.
展开▼