Hadamard gate effect on C input in quantum circuit

1 reply · 2K views · last reply
victor94
Messages
5
Reaction score
2
I'm in a proyect to simulate quantum circuits in robots like in this paper
( http://ieeexplore.ieee.org/document/4215941/ ) ,the first thing that i need to do is to simulated the circuit that is in that paper:

Quantum circuit diagram: inputs S1 and S2 and control C feed a Hilbert space calculation block with a Hadamard gate H on C, CNOT gates, and three measurement blocks giving M1, M2 and Mood, with a memory feedback loop from C.

But I'm having trouble understanding how the hadamard gate affects the "C" entrance, any help will be appreciated.

Thanks
 
In this case, assuming ##S1## is off or on (i.e. not in a superposition w.r.t. the computational basis), the Hadamard gate just acts like a classical coin flip because its output is only ever measured or used to control other operations.

##S2## seems completely pointless as far as I can tell.

You can simulate the circuit in Quirk to see the specific cases:

Quirk simulator screenshot of a three-qubit circuit: an H gate on the top wire controls two CNOT gates targeting the lower two wires, with Off input gates and final amplitude readouts 00 to 11.
 
  • Like
Likes   Reactions: mike1000