30.12.2012 Views

t b a b a

t b a b a

t b a b a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

c<br />

t<br />

c<br />

t ⊕ c<br />

c c<br />

Figure 2.3: Circuit representations of control-NOT and control-U gate<br />

representation is shown in Figure 2.3. The top line represents the control qubit while<br />

the bottom line represents the target qubit. This gate leaves the target qubit unchanged<br />

if the control qubit is set to | 0〉, and flips the target qubit if the control qubit is set to<br />

| 1〉. That corresponds to the state transformations:<br />

| 00〉 →| 00〉; | 01〉 →| 01〉; | 10〉 →| 11〉; | 11〉 →| 10〉.<br />

The gate’s matrix representation is:<br />

⎛<br />

U<br />

⎞<br />

⎜ 1<br />

⎜ 0<br />

UCNOT = ⎜ 0<br />

⎜<br />

⎝<br />

0<br />

1<br />

0<br />

0<br />

0<br />

0<br />

0 ⎟<br />

0<br />

⎟<br />

1<br />

⎟<br />

⎠<br />

0 0 1 0<br />

The function of a CNOT gate can also be summarized as | c, t〉 →| c, c ⊕ t〉, where ⊕<br />

denotes addition modulo two.<br />

• Controlled-U gate<br />

18

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!