Skip to main content

About this free course

Download this course

Share this free course

Introduction to quantum computing
Introduction to quantum computing

Start this free course now. Just create an account and sign in. Enrol and complete the course for a free statement of participation or digital badge if available.

8 Quiz

Answer the following questions in order to test your understanding of the key ideas that you have been learning about.

Question 1

a. 

An eigenfunction is special type of function that remains essentially unchanged (except for a scaling factor) when acted upon by a given linear operator.


b. 

An eigenstate in quantum mechanics is a special quantum state that remains unchanged, except for a multiplicative factor, when a specific quantum operator acts on it.


c. 

An eigenvalue is a special scalar associated with a linear transformation of a square matrix. It represents how much a given vector is scaled when that matrix is applied to it.


d. 

An eigenstate is a state for which the outcome of a measurement of a certain observable (like energy, position, or momentum) will always yield a specific, definite value.


e. 

An eigenvector of a square matrix is a nonzero vector that gets scaled by a certain value when the matrix is applied to it.


f. 

There is always only one eigenvalue and corresponding eigenfunction associated with each eigenvalue equation


The correct answers are a, b, c, d and e.

a. 

True


b. 

True


c. 

True


d. 

True


e. 

True


Answer

The first five statements are all true. The last one is false: there may be more than one eigenvalue and corresponding eigenfunction associated with each eigenvalue equation.

Question 2

a. 

For eigenvalue lamda sub one equals seven the eigenvector is bold v sub one equals vector element 1 one element 2 one and for eigenvalue lamda sub two equals five the eigenvector is bold v sub two equals vector element 1 negative two element 2 one


b. 

For eigenvalue lamda sub one equals nine the eigenvector is bold v sub one equals vector element 1 two element 2 one and for eigenvalue lamda sub two equals three the eigenvector is bold v sub two equals vector element 1 negative one element 2 one


c. 

For eigenvalue lamda sub one equals four the eigenvector is bold v sub one equals vector element 1 two element 2 two and for eigenvalue lamda sub two equals two the eigenvector is bold v sub two equals vector element 1 one element 2 negative one


d. 

For eigenvalue lamda sub one equals one the eigenvector is bold v sub one equals vector element 1 two element 2 three and for eigenvalue lamda sub two equals eight the eigenvector is bold v sub two equals vector element 1 negative three element 2 one


The correct answer is b.

Answer

Following the prescription described in the course: a equals seven , b equals four , c equals two and d equals five . So we first need to solve the quadratic equation

lamda squared minus left parenthesis seven plus five right parenthesis times lamda plus left parenthesis left parenthesis seven multiplication five right parenthesis minus left parenthesis four multiplication two right parenthesis right parenthesis equals zero

which is simply

lamda squared minus 12 times lamda plus 27 equals zero

This can be written as

left parenthesis lamda minus nine right parenthesis times left parenthesis lamda minus three right parenthesis equals zero

So it has solutions lamda sub one equals nine and lamda sub two equals three . These are the two eigenvalues.

We now write the two eigenvector equations:

multiline equation row 1 left parenthesis seven minus lamda right parenthesis times x plus four times y equals zero row 2 two times x plus left parenthesis five minus lamda right parenthesis times y equals zero

For eigenvalue lamda sub one equals nine these reduce to

multiline equation row 1 negative two times x plus four times y equals zero row 2 two times x minus four times y equals zero

Both equations imply that x equals two times y , so x equals two and y equals one and the first eigenvector is

bold v sub one equals vector element 1 two element 2 one

For eigenvalue lamda sub two equals three these reduce to

multiline equation row 1 four times x plus four times y equals zero row 2 two times x plus two times y equals zero

Both equations imply that x equals negative y , so x equals negative one and y equals one and the second eigenvector is

bold v sub two equals vector element 1 negative one element 2 one

Question 3

a. 

The probability of a measurement indicating spin-up is a sub one


b. 

The probability of a measurement indicating spin-down is absolute value of a sub two squared


c. 

The probability of a measurement indicating spin-down is absolute value of a sub one squared


d. 

The probability of a measurement indicating spin-down is a sub one minus a sub two


e. 

The probability of a measurement indicating spin-up is absolute value of a sub one plus a sub two squared


The correct answer is b.

Answer

The probability of the outcome of a measurement indicating spin-up is absolute value of a sub one squared and for spin-down is absolute value of a sub two squared .

Question 4

Match the following two-particle spin states with the correct descriptions.

Using the following two lists, match each numbered item with the correct letter.

  1. absolute value of one comma one mathematical right angle bracket equals postfix up arrow up arrow mathematical right angle bracket

  2. vertical line one comma zero mathematical right angle bracket equals one divided by Square root of two times left parenthesis vertical line up arrow down arrow mathematical right angle bracket postfix plus vertical line down arrow up arrow mathematical right angle bracket right parenthesis

  3. vertical line zero comma zero mathematical right angle bracket equals one divided by Square root of two times left parenthesis vertical line up arrow down arrow mathematical right angle bracket postfix minus vertical line down arrow up arrow mathematical right angle bracket right parenthesis

Match each of the previous list items with an item from the following list:

  • a.symmetric not entangled state

  • b.symmetric entangled state

  • c.antisymmetric entangled state

The correct answers are:
  • 1 = a,
  • 2 = b,
  • 3 = c

Answer

The triplet states (i.e. vertical line one comma one mathematical right angle bracket and vertical line one comma zero mathematical right angle bracket and vertical line one comma negative one mathematical right angle bracket ) are symmetric and the singlet state (i.e. vertical line zero comma zero mathematical right angle bracket ) is antisymmetric under particle exchange. Two-particle states which cannot be factorised (i.e. vertical line zero comma zero mathematical right angle bracket and vertical line one comma zero mathematical right angle bracket ) are known as entangled states. The other states (i.e. vertical line one comma one mathematical right angle bracket and vertical line one comma negative one mathematical right angle bracket ) are not entangled.

Question 5

a. 

matrix row 1column 1 10 row 2column 1 01


b. 

matrix row 1column 1 00 row 2column 1 00


c. 

matrix row 1column 1 01 row 2column 1 10


d. 

matrix row 1column 1 zero minus minus one row 2column 1 minus minus 10


e. 

matrix row 1column 1 11 row 2column 1 11


The correct answer is c.

Answer

The quantum NOT gate is represented by the Pauli-X operator, cap x hat equals matrix row 1column 1 01 row 2column 1 10

Question 6

a. 

one divided by Square root of two times matrix row 1column 1 10 row 2column 1 01


b. 

one divided by Square root of two times matrix row 1column 1 11 row 2column 1 11


c. 

one divided by Square root of two times matrix row 1column 1 minus minus 10 row 2column 1 zero minus minus one


d. 

one divided by Square root of two times matrix row 1column 1 11 row 2column 1 one minus minus one


e. 

one divided by Square root of two times matrix row 1column 1 minus minus 11 row 2column 1 11


The correct answer is d.

Answer

The Hadamard gate is represented by one divided by Square root of two times matrix row 1column 1 11 row 2column 1 one minus minus one

Question 7

Match the following quantum gates with the correct result.

Using the following two lists, match each numbered item with the correct letter.

  1. NOT gate

  2. CNOT gate

  3. Hadamard gate

Match each of the previous list items with an item from the following list:

  • a.Transforms a qubit into a superposition state

  • b.Flips the state of a qubit

  • c.Entangles a pair of disentangled qubits

The correct answers are:
  • 1 = b,
  • 2 = c,
  • 3 = a

Answer

A NOT gate flips the state of a qubit. A CNOT gate can entangle a pair of disentangled qubitts. A Hadamard gate can transform a qubit into a superposition state.

Question 8

a. 

one divided by Square root of two times left parenthesis vertical line zero mathematical right angle bracket postfix plus vertical line one mathematical right angle bracket right parenthesis


b. 

vertical line zero mathematical right angle bracket


c. 

one divided by Square root of two times left parenthesis vertical line zero mathematical right angle bracket postfix minus vertical line one mathematical right angle bracket right parenthesis


d. 

one divided by two times left parenthesis vertical line zero mathematical right angle bracket postfix plus vertical line one mathematical right angle bracket right parenthesis


e. 

one divided by two times left parenthesis vertical line zero mathematical right angle bracket postfix minus vertical line one mathematical right angle bracket right parenthesis


f. 

vertical line one mathematical right angle bracket


The correct answer is b.

Answer

The circuit can be written as cap h hat times cap h hat vertical line zero mathematical right angle bracket . The action of the first Hadamard gate produces a superposition state:

cap h hat times absolute value of zero mathematical right angle bracket equals one divided by Square root of two times zero mathematical right angle bracket prefix plus of one divided by Square root of two vertical line one mathematical right angle bracket

Then passing this through the second Hadamard gate we have

cap h hat times cap h hat times absolute value of zero mathematical right angle bracket equals one divided by Square root of two times left parenthesis one divided by Square root of two plus one divided by Square root of two right parenthesis times zero mathematical right angle bracket prefix plus of one divided by Square root of two times left parenthesis one divided by Square root of two minus one divided by Square root of two right parenthesis vertical line one mathematical right angle bracket
cap h hat times cap h hat times absolute value of zero mathematical right angle bracket equals one divided by Square root of two times left parenthesis one divided by Square root of two plus one divided by Square root of two right parenthesis times zero mathematical right angle bracket equals one divided by Square root of two times left parenthesis two divided by Square root of two right parenthesis times absolute value of zero mathematical right angle bracket equals times zero mathematical right angle bracket

The action of the second Hadamard gate is therefore to restore the original input qubit.