T2: 2. Quantum Circuits Flashcards

1
Q

Give the phase shift matrix S

A

Identity; bottom right i.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Give the phase shift matrix T

A

Identity; bottom right e^iπ/4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Give the Hadamard gate matrix H

A

1/sqrt(2) All ones; bottom right -1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What action does Hadamard have on basis states |0⟩ and |1⟩

A

|0⟩ →|+⟩

|1⟩ →|-⟩

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How many unitaries does it take to represent a generic U acting on n qubits.

A

N=2^n

(1/2)N(N-1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What kinds of classical circuits have quantum counterparts and why?

A

Reversible circuits. Since these can be expressed as unitary transformations, which by definition, have an inverse.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which single-bit classical gates have quantum analogues? Why?

A

The identity and NOT gate; these are reversible and so we can express them as unitary matrices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How can we express an arbitrary unitary operator U?

A

U=e^iα R_n(θ)

Where R_n(θ) is a rotation about the n axis.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the relations between S,T, and Z

A

S^2 = Z and T^2=S

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is special about the CNOT in a quantum circuit?

A

It creates entanglement.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Define ‘multiply controlled unitaries’

A

Unitaries which act if all other qubits are 1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

On what kind of subspace does a multiply controlled unitary act.

A

Two states which differ by a single bit, with all other bits =1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Define gray code

A

The process of using NOTs and CNOTs to prepare a state

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How does an arbitrary unitary act on the Bloch sphere?

A

It preserves the length of r, so acts as a rotation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the basis for Z?

A

Computational basis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Whats is the basis for X?

A

|+⟩ and |-⟩