What does Cnot gate do?

What does Cnot gate do?

Expressed in basis states, the CNOT gate: leaves the control qubit unchanged and performs a Pauli-X gate on the target qubit when the control qubit is in state ∣1⟩; leaves the target qubit unchanged when the control qubit is in state ∣0⟩.

What amount of power is required for quantum computer?

NOTE: – A 30-qubit-quantum computer would equal the processing power of a conventional computer that could run teraflops (trillions of floating-point operations per second). Todays typical desktop computers run at speeds measured in gigaflops (billions of floating-point operations).

Why does the Z gate have no effect on a qubit?

Eigenvectors are very important in quantum computing, and it is important you have a solid grasp of them. You may also notice that the Z-gate appears to have no effect on our qubit when it is in either of these two states. This is because the states | 0⟩|0⟩ and | 1⟩|1⟩ are the two eigenstates of the Z-gate.

Are there reversible gates in a quantum circuit?

An important feature of quantum circuits is that, between initialising the qubits and measuring them, the operations (gates) are always reversible! These reversible gates can be represented as matrices, and as rotations around the Bloch sphere.

How to create a single qubit gate with two H Gates?

In the quick exercises above, we saw you could create an X-gate by sandwiching our Z-gate between two H-gates: Starting in the Z-basis, the H-gate switches our qubit to the X-basis, the Z-gate performs a NOT in the X-basis, and the final H-gate returns our qubit to the Z-basis.

Which is the sequence of gates equivalent to any qubit state?

Show that applying the sequence of gates: HZH, to any qubit state is equivalent to applying an X-gate. Find a combination of X, Z and H-gates that is equivalent to a Y-gate (ignoring global phase). 4. Digression: Measuring in Different Bases We have seen that the Z-axis is not intrinsically special, and that there are infinitely many other bases.