The Stack Overflow podcast is back! Listen to an interview with our new CEO.

New answers tagged


I found out the number of ancillas is minimum $n-2$. I found this line in the Qiskit source code of mct: if len(ancillary_qubits) < len(control_qubits) - 2: raise AquaError('Insufficient number of ancillary qubits.')

Top 50 recent answers are included