It's use seems to vary a lot in different situations It seems it is not possible without additional gates I want to remove the ancilla qubits from my quantum circuit in qiskit
Ancilla Tilia Hot Photo Shoot | Celebrity Pictures | Hot Images | HD
My mwe below contains four qubits
I want to keep psi0 and psi1 qubits and remove ancillas anc0, anc.
In the above linked paper, the authors were able to greatly reduce the circuit depth required for implementing an arbitrary quantum state by introducing an ancilla register with the same size as the system register and performing controlled swaps between them This seems to be similar to a lot of width vs depth tradeoff people observe in. For instance, the cnot can be implemented using joint zz measurement and joint xx measurement and using an additional ancilla qubit To generate the clifford group, it would be sufficient to have similar gadgets for s and h
How does one achieve a hadamard gate just using. In general if we entangle and measure the ancilla state also with spin states during the computation, our computation is botched because our superposition is lost by measuring the ancilla Thus our ancilla must be entangled in a manner that doesn't disturb the original qubits What properties do we usually prepare and measure the ancilla qubits.
How do i specify this ancilla qubit in my initial_layout parameter when i am trying to transpile the circuit using qiskit.transpile
Or alternatively, how do i assign only 4 of these virtual qubits to 5 physical qubits using the same initial_layout parameter? The ancilla tells us about the errors, not the underlying logical state I have a circuit with 2 ancilla bits I have only asked that the circuit measure the 4 other qubits, but the results keep including the ancilla bits
How to remove the ancilla bits from the results? The ancilla shouldn't be entangled with the main register after every iteration and the same ancilla qubit should be able to be reused for every iteration, in fact the ancilla's state shouldn't change at all due to phase kickback I have tried to make a toffoli gate using only cnots and some ancilla qubits but i do not get the unitary