It's use seems to vary a lot in different situations I have only asked that the circuit measure the 4 other qubits, but the results keep including the ancilla bits How do i specify this ancilla qubit in my initial_layout parameter when i am trying to transpile the circuit using qiskit.transpile
Ancilla Tilia_DSC7877.jpg | Dutch Press Photo Agency
Or alternatively, how do i assign only 4 of these virtual qubits to 5 physical qubits using the same initial_layout parameter?
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. 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 want to remove the ancilla qubits from my quantum circuit in qiskit
My mwe below contains four qubits I want to keep psi0 and psi1 qubits and remove ancillas anc0, anc. The ancilla tells us about the errors, not the underlying logical state I have tried to make a toffoli gate using only cnots and some ancilla qubits but i do not get the unitary
It seems it is not possible without additional gates
What could i do to prove it Currently, i am implementing a cx gate in stim with the help of lattice surgery, and i am a bit confused why there are multiple ways of implementing it 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.
I have a circuit with 2 ancilla bits