/
Complex Numbers and Quantum Computing
Save to my account
Sign up
Complex Numbers and Quantum Computing
Complex Numbers and Quantum Computing
Study
1
Question
What is the definition of the imaginary unit i?
Answer
i is the square root of -1, so i² = -1.
2
Question
How is the square root of -4 expressed using imaginary numbers?
Answer
√(-4) = ±2i.
3
Question
What is a complex number?
Answer
A complex number is of the form a + bi, where a is the real part and b is the imaginary part, both real numbers.
4
Question
How do you add two complex numbers?
Answer
Add the real parts together and the imaginary parts together separately.
5
Question
How do you multiply two complex numbers, remembering i²?
Answer
Use foil method and replace i² with -1.
6
Question
What is the complex conjugate of a + bi?
Answer
a - bi, denoted by z*.
7
Question
What result do you get when multiplying a complex number by its conjugate?
Answer
A real number equal to the magnitude squared, |z|² = a² + b².
8
Question
How is the magnitude of a complex number a + bi calculated?
Answer
$|z| = \sqrt{a^2 + b^2}$ using Pythagoras.
9
Question
What is the polar form of a complex number?
Answer
$r (\cos \theta + i \sin \theta)$, where r = |z|, $\theta = \arctan(b/a)$.
10
Question
What is the exponential form of a complex number used in quantum computing?
Answer
$r e^{i \theta}$.
11
Question
Why is exponential form preferred in quantum computing for complex numbers?
Answer
Multiplying rotates around unit circle as angles add.
12
Question
What is an m by n matrix?
Answer
A 2D arrangement with m rows and n columns.
13
Question
When can you add or subtract two matrices?
Answer
Only if they have the same number of rows and columns.
14
Question
How do you multiply a matrix by a scalar?
Answer
Multiply each element by the scalar.
15
Question
What is the rule for matrix multiplication compatibility?
Answer
Number of columns of first equals rows of second.
16
Question
How is an element computed in matrix multiplication?
Answer
Dot product of row from left matrix and column from right matrix.
17
Question
What is a column vector?
Answer
An n × 1 matrix.
18
Question
How do matrices act on column vectors in quantum computing?
Answer
Matrix multiplication transforms the vector, representing state operations.
19
Question
What is the identity matrix?
Answer
All zeros except 1s on the main diagonal.
20
Question
What is the matrix inverse?
Answer
$A^{-1}$ such that $A^{-1} A = I$.
21
Question
What is the complex conjugate of a matrix?
Answer
Flip sign of imaginary parts of all elements, denoted A*.
22
Question
What is the transpose of a matrix?
Answer
Exchange rows and columns, denoted A^T.
23
Question
What is the dagger notation for a matrix?
Answer
A^† = (A*)^T, complex conjugate transpose.
24
Question
What defines a unitary matrix U?
Answer
$U^\dagger U = I$, so U^† is inverse.
25
Question
What defines a Hermitian matrix H?
Answer
$H = H^\dagger$.
26
Question
What is an eigenvector and eigenvalue?
Answer
A v = λ v, where v is eigenvector, λ eigenvalue (scalar).
27
Question
What are the basis states for a qubit?
Answer
$|0\rangle = \begin{pmatrix} 1 \\ 0 \end{pmatrix}$, $|1\rangle = \begin{pmatrix} 0 \\ 1 \end{pmatrix}$.
28
Question
What is the general state of a qubit?
Answer
$|\psi\rangle = \alpha |0\rangle + \beta |1\rangle$, with $|\alpha|^2 + |\beta|^2 = 1$.
29
Question
What is superposition in a qubit?
Answer
Both α and β nonzero, qubit in both |0⟩ and |1⟩ simultaneously.
30
Question
What happens when measuring a qubit?
Answer
Collapses to |0⟩ with prob |α|² or |1⟩ with |β|².