Target qubit as auxiliary?

Can the target qubit be used also as an auxiliary?( used and uncomputed before applying the gate, and after the gate operation again used and uncomputed)


The target (and control) qubits are an input to the circuit, so Iā€™m not sure you are going to be able to use it as auxiliary without corrupting it.


I agree, I have just realised that and came here to delete the question, but since you have answered I will leave it as is. Thank you.

1 Like