TransWikia.com

Could someone give an example of this pic?

Quantum Computing Asked by WilliamYang on September 5, 2021

enter image description here

This is a picture from Wiki(https://en.wikipedia.org/wiki/Quantum_logic_gate). Can someone give me a simple example by using two qubits?

enter image description here

One Answer

Since Fourier transform and inverse Fourier transform for one qubit is only Hadamard gate, for two qubit case following two circuits are equivalent.

First circuit (Fourier transform applied on qubit $q_0$)

Circuit 1

First circuit (inverse Fourier transform applied on qubit $q_1$)

Circuit 2

Both circuits return state

$$ |psirangle = frac{1}{2}(|00rangle + |01rangle + |10rangle - |11rangle). $$


EDIT: I have just realized that the gate $F$ is general unitary transformation and not the QFT (I was missleaded by F = Fourier). However, my example is also valid. It is a particular case for two qubits asked for in the question.

Correct answer by Martin Vesely on September 5, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP