Search

Mathematical Introduction: Quick introduction to complex numbers

Quantum Computing Basic Concepts cover image

Overview

Secondary School

Mathematics

Quantum Computing

English

Overview

Keywords: complex numbers
Age group: 16-18 years
Required knowledge/skills: none
Time frame: 30 minutes

This section is part of Basic Concepts of Quantum Computing – Mathematical Basics written by Natalija Budinski (RS).

Content 

Ho to calculate with complex numbers
Complex numbers to determine probabilities
Task for students: Quiz

Summary

In this lesson, students will be introduced to complex numbers and to how they are used in both mathematics and quantum computing. 

quantencomputingt_teaser_ilustrationen_v01_basic_concepts_skaliert

Students will be able to

  • understand the algebraic form of a complex number, z=x+iy, and its representation in a complex plane;
  • perform arithmetic operations with complex numbers (addition, subtraction, multiplication);
  • compute the modulus of a complex number;
  • discover how complex numbers are used in quantum computing and how they describe quantum behaviour.

Historically, the concept of imaginary numbers was initially met with scepticism. During the 16th century, mathematicians like Gerolamo Cardano and Niccolò Tartaglia studied the roots of cubic equations and introduced imaginary numbers to solve them. Later, Leonhard Euler defined and introduced the imaginary unit i, which laid the foundation for complex numbers. His work formalised many key properties we still use today in many aspects of engineering and programming.

Required materials

  • paper and pencil

How to calculate with complex numbers

A complex number can be written as z = x + i y , where x and y are real numbers and i satisfies i 2 = 1 . x is called the real part of the complex number and y the imaginary part. This may be written as: Re z = x and Im z = y .

The basic calculation rules for complex numbers are:

  1. Addition and subtraction:  ( x 1 + i y 1 ) ± ( x 2 + i y 2 ) = ( x 1 ± x 2 ) ( y 1 ± y 2 )
  2. Multiplication:  ( x 1 + i y 1 ) ( x 2 + i y 2 ) = x 1 x 2 y 1 y 2 + i ( x 1 y 2 + x 2 y 1 )
  3. Modulus (magnitude):  | z | = x 2 + y 2

Example:

Let us do some calculations with the two complex numbers z 1 = 1 + 2 i and z 2 = 3 - 4 i .
 

  1. Addition and subtraction
    Calculate z 1 + z 2 and z 1 - z 2 .
    Solution:
    z 1 + z 2 = ( 1 + 2 i ) + ( 3 4 i ) = 4 2 i
    z 1 z 2 = ( 1 + 2 i ) ( 3 4 i ) = 2 + 6 i
  2. Multiplication
    Calculate z 1 z 2 .
    Solution:  z 1 z 2 = ( 1 + 2 i ) ( 3 4 i ) = 11 + i
  3. Modulus
    Calculate | z 1 | and | z 2 | .
    Solution: | z 1 | = 5 and  | z 2 | = 5

Complex numbers to determine probabilities

In quantum computing, you will often come across the following equation:
| ψ = α | 0 + β | 1 .

This equation describes the superposition of the two basis states of a qubit. Qubits are the quantum bits with which a quantum computer carries out its calculations. In this lesson, we will treat this equation as a black box and just mention what each symbol means – for you and your students to get used to these terms and concepts. So, don’t be afraid if you don’t understand a thing at this point.

ψ  describes the properties of the whole system (in this case, the superposition of the two basis states of a qubit). The ket notation | may be read as “the state of” (see “Matrices and how they can be used in quantum computing” [Link]). | 0 and | 1 are the two possible states a qubit can take.

Example: When flipping a coin, the two states the coin can take are “Head” or “Tail”.

And finally, α and β are two complex numbers called amplitudes. The squares of the modulus of these amplitudes, | α | 2 and | β | 2 , represent the probabilities of finding the system in the state | 0 or in the state | 1 , respectively, when performing a measurement.

Example: When flipping a coin (performing a measurement), there is a 50:50 chance that the coin lands on “Head”, and a 50:50 chance that it lands on “Tail”. In this case, the above equation can be written as:
| coin that is flipped = 1 2 | Head + 1 2 | Tail .

In this case, the amplitudes are real numbers. If you square them, you obtain ½, meaning that the probability of getting “Head” is ½ and the probability of getting “Tail” is ½ as well.

In general, the amplitudes have both a real and an imaginary part, in order to describe special behaviours observed in quantum physics.

Task for students: Quiz

You can download the quiz for students here:

Below you find the same questions in an interactive format.
Use this link to send the interactive H5P task to your students.

  1. C
  2. A
  3. A
  4. B
  5. A
Close search