Appendix B Solutions¶
← Back to problems | Back to chapter
Table of Contents
Basic
- B-1. Norm Calculation of a Vector in \(\mathbb{C}^2\)
- B-2. Inner Product Calculation in \(\mathbb{C}^2\)
- B-3. Normalization of a 2-Dimensional Vector
- B-4. Determining Orthogonality
- B-5. Calculation of Matrix Elements
- B-6. Calculating the Hermitian Conjugate
- B-7. Calculation of a Commutator
- B-8. Determining Linear Independence
- B-9. Calculation of Expansion Coefficients
- B-10. Verification of the Completeness Relation
Medium
- M-1. Gram–Schmidt Orthogonalization
- M-2. Proof that Eigenvalues of Hermitian Matrices are Real
- M-3. Eigenvectors belonging to different eigenvalues of a Hermitian matrix are orthogonal
- M-4. Derivation of Commutator Identity
- M-5. Proof of the Schwarz Inequality
Advanced
Basic¶
B-1. Norm Calculation of a Vector in \(\mathbb{C}^2\)¶
Solution Strategy: The norm is calculated as \(\||\psi\rangle\| = \sqrt{\langle\psi|\psi\rangle}\). We use \(\langle\psi|\psi\rangle = \sum_k |z_k|^2\).
Calculation:
Calculate the squared absolute value of each component:
Therefore
Verification: \(|2i|^2 = 0^2 + 2^2 = 4\) ✓, \(|1-i|^2 = 1^2 + (-1)^2 = 2\) ✓. The norm is a positive real number, and \(\sqrt{6} > 0\) ✓.
B-2. Inner Product Calculation in \(\mathbb{C}^2\)¶
Solution strategy: Compute \(\langle\phi|\psi\rangle = \sum_k \phi_k^* \psi_k\). Note that the complex conjugate is applied to the components of the bra side (first argument).
Calculation:
The bra vector is
Therefore
Verification: Confirm the Hermitian property \(\langle\psi|\phi\rangle = \langle\phi|\psi\rangle^*\).
Indeed \(\langle\psi|\phi\rangle = 3 - i = (3 + i)^* = \langle\phi|\psi\rangle^*\) ✓
B-3. Normalization of a 2-Dimensional Vector¶
Solution strategy: First compute the norm \(\||v\rangle\|\), then find \(|u\rangle = |v\rangle / \||v\rangle\|\).
Calculation:
Verification: Check that \(\langle u|u\rangle = 1\).
B-4. Determining Orthogonality¶
Solution Strategy: Calculate the inner product \(\langle a|b\rangle\) and check whether it equals 0.
Calculation:
Verification: \(\langle b|a\rangle = \langle a|b\rangle^* = 0^* = 0\) ✓. Also, computing directly: \(\langle b|a\rangle = (i)^*\cdot 1 + 1^* \cdot i = -i + i = 0\) ✓.
B-5. Calculation of Matrix Elements¶
Solution strategy: \(A_{jk} = \langle e_j|\hat{A}|e_k\rangle\) equals the \(j\)-th component of \(\hat{A}|e_k\rangle\) when expressed as a column vector.
Calculation:
From \(\hat{A}|e_1\rangle = \begin{pmatrix} 2 \\ i \end{pmatrix}\):
From \(\hat{A}|e_2\rangle = \begin{pmatrix} -i \\ 3 \end{pmatrix}\):
Verification: The \(k\)-th column of the matrix should consist of the components of \(\hat{A}|e_k\rangle\). The first column \(\begin{pmatrix}2\\i\end{pmatrix}\) matches \(\hat{A}|e_1\rangle\) ✓, and the second column \(\begin{pmatrix}-i\\3\end{pmatrix}\) matches \(\hat{A}|e_2\rangle\) ✓. Furthermore, since \(A^\dagger = \begin{pmatrix}2 & -i \\ i & 3\end{pmatrix} = A\), this operator is Hermitian.
B-6. Calculating the Hermitian Conjugate¶
Solution strategy: \((A^\dagger)_{jk} = A_{kj}^*\) (transpose and take the complex conjugate).
Calculation:
Taking the transpose:
Taking the complex conjugate of each element:
Verification: \((A^\dagger)_{12} = A_{21}^* = (3i)^* = -3i\) ✓, \((A^\dagger)_{21} = A_{12}^* = (1-i)^* = 1+i\) ✓. Also, \(A^\dagger \neq A\), so this matrix is not Hermitian.
B-7. Calculation of a Commutator¶
Solution strategy: Compute \(AB\) and \(BA\) separately, then take their difference.
Calculation:
Verification: \(A = \sigma_z\), \(B = \sigma_x\) (Pauli matrices), and it is known that \([\sigma_z, \sigma_x] = -2i\sigma_y\). Since \(\sigma_y = \begin{pmatrix}0 & -i \\ i & 0\end{pmatrix}\), we get \(-2i\sigma_y = -2i\begin{pmatrix}0 & -i \\ i & 0\end{pmatrix} = \begin{pmatrix}0 & -2 \\ 2 & 0\end{pmatrix}\).
Wait, let's check the sign. \([\sigma_z, \sigma_x] = \sigma_z\sigma_x - \sigma_x\sigma_z\). The known relation is \([\sigma_i, \sigma_j] = 2i\epsilon_{ijk}\sigma_k\), so \([\sigma_z, \sigma_x] = 2i\epsilon_{zxy}\sigma_y = 2i(-1)\sigma_y = -2i\sigma_y\).
Here, let's verify the value of \(\epsilon_{zxy}\). \((z,x,y) = (3,1,2)\) maps the cyclic permutation \((1,2,3)\) to \((3,1,2)\), which is an even permutation, so \(\epsilon_{312} = +1\). Therefore \([\sigma_z, \sigma_x] = 2i\sigma_y\).
B-8. Determining Linear Independence¶
Solution Strategy: Investigate whether there exists \(\alpha \in \mathbb{C}\) such that \(|v_2\rangle = \alpha |v_1\rangle\).
Calculation:
Assuming \(|v_2\rangle = \alpha |v_1\rangle\):
- First component: \(i = \alpha \cdot 1 \implies \alpha = i\)
- Second component: \(-1 = \alpha \cdot i = i \cdot i = -1\) ✓
Since \(\alpha = i\) satisfies both components, we have \(|v_2\rangle = i\,|v_1\rangle\).
Verification: Indeed, \(i\begin{pmatrix}1\\i\end{pmatrix} = \begin{pmatrix}i\\i^2\end{pmatrix} = \begin{pmatrix}i\\-1\end{pmatrix} = |v_2\rangle\) ✓.
B-9. Calculation of Expansion Coefficients¶
Solution strategy: The expansion coefficients in an orthonormal basis are found via \(c_k = \langle e_k|\psi\rangle\) (Eq. (B.19)).
Calculation:
Since the basis vectors have real components, the bra vectors are:
Verification: Check that \(c_+|+\rangle + c_-|-\rangle\) equals \(|\psi\rangle\).
Furthermore, \(|c_+|^2 + |c_-|^2 = \frac{|3+i|^2}{2} + \frac{|3-i|^2}{2} = \frac{10}{2} + \frac{10}{2} = 10 = \langle\psi|\psi\rangle\) ✓ (Parseval's identity).
B-10. Verification of the Completeness Relation¶
Solution Strategy: Compute \(|+\rangle\langle+|\) and \(|-\rangle\langle-|\) each as \(2\times 2\) matrices, then take their sum.
Calculation:
Verification: The completeness relation holding is a consequence of \(\{|+\rangle, |-\rangle\}\) forming an orthonormal basis. Indeed, \(\langle+|-\rangle = \frac{1}{2}(1\cdot1 + 1\cdot(-1)) = 0\) ✓, \(\langle+|+\rangle = \frac{1}{2}(1+1) = 1\) ✓, \(\langle-|-\rangle = \frac{1}{2}(1+1) = 1\) ✓. Since two orthonormal vectors in a 2-dimensional space form a basis, the completeness relation is satisfied.
Medium¶
M-1. Gram–Schmidt Orthogonalization¶
Strategy: Following equations (B.22)–(B.24), normalize \(|v_1\rangle\) to construct \(|e_1\rangle\), then remove the \(|e_1\rangle\) component from \(|v_2\rangle\) and normalize to construct \(|e_2\rangle\).
Step 1: Constructing \(|e_1\rangle\)¶
Step 2: Constructing \(|e_2\rangle\)¶
First, compute \(\langle e_1|v_2\rangle\). Since \(\langle e_1| = \frac{1}{\sqrt{2}}(1^*,\; i^*) = \frac{1}{\sqrt{2}}(1,\; -i)\):
Remove the \(|e_1\rangle\) component:
Compute the product of \(\frac{1-i}{2}\) with each component:
Therefore
Compute the norm of \(|w_2\rangle\):
Since the norm is 1, no normalization is needed:
Verification of Orthonormality¶
\(\langle e_1|e_1\rangle\):
\(\langle e_2|e_2\rangle\):
\(\langle e_1|e_2\rangle\):
Orthonormality has been verified.
M-2. Proof that Eigenvalues of Hermitian Matrices are Real¶
Solution Strategy: Multiply both sides of the eigenvalue equation by a bra, and use Hermiticity to show that \(\lambda = \lambda^*\).
Proof:
Multiplying both sides of \(\hat{A}|\lambda\rangle = \lambda|\lambda\rangle\) (\(|\lambda\rangle \neq \mathbf{0}\)) from the left by \(\langle\lambda|\):
Next, consider the complex conjugate of the left-hand side of (1). From the Hermitian property of the inner product (Eq. (B.7)):
Proceeding more carefully. Taking the complex conjugate of (1):
where the last equality holds because \(\langle\lambda|\lambda\rangle\) is real (non-negative).
On the other hand, using \(\hat{A}^\dagger = \hat{A}\):
where the first equality follows from the general relation \(\langle\psi|\hat{O}|\phi\rangle^* = \langle\phi|\hat{O}^\dagger|\psi\rangle\) (in the case \(|\psi\rangle = |\phi\rangle = |\lambda\rangle\)).
From (3), \(\langle\lambda|\hat{A}|\lambda\rangle\) is real.
Comparing (1) and (2):
Since \(|\lambda\rangle \neq \mathbf{0}\), we have \(\langle\lambda|\lambda\rangle > 0\), so dividing both sides by \(\langle\lambda|\lambda\rangle\):
Therefore \(\lambda\) is real. \(\blacksquare\)
Verification: The matrix \(A = \begin{pmatrix}2 & -i \\ i & 3\end{pmatrix}\) obtained in D5 was Hermitian. Finding the eigenvalues, the characteristic equation \((2-\lambda)(3-\lambda) - (-i)(i) = 0\) gives \(\lambda^2 - 5\lambda + 6 - 1 = 0\), \(\lambda^2 - 5\lambda + 5 = 0\), \(\lambda = \frac{5 \pm \sqrt{5}}{2}\). Indeed real ✓.
M-3. Eigenvectors belonging to different eigenvalues of a Hermitian matrix are orthogonal¶
Solution Strategy: Derive an equality involving \(\langle\lambda_1|\lambda_2\rangle\) from the two eigenvalue equations, and conclude \(\langle\lambda_1|\lambda_2\rangle = 0\) from \(\lambda_1 \neq \lambda_2\).
Proof:
Eigenvalue equations:
Multiplying both sides of (ii) from the left by \(\langle\lambda_1|\):
Taking the Hermitian conjugate of (i) (since \(\hat{A}^\dagger = \hat{A}\), and from S2, \(\lambda_1\) is real so \(\lambda_1^* = \lambda_1\)):
Multiplying this from the right by \(|\lambda_2\rangle\):
Comparing (iii) and (iv):
Since \(\lambda_1 \neq \lambda_2\), we have \(\lambda_1 - \lambda_2 \neq 0\), therefore:
\(\blacksquare\)
Verification: We can confirm orthogonality by finding the eigenvectors corresponding to the eigenvalues \(\lambda_\pm = \frac{5 \pm \sqrt{5}}{2}\) of the matrix \(A = \begin{pmatrix}2 & -i \\ i & 3\end{pmatrix}\) used in the verification of S2. For \(\lambda_+ = \frac{5+\sqrt{5}}{2}\), from \((2 - \lambda_+)v_1 - iv_2 = 0\) we get \(v_2 = \frac{2-\lambda_+}{i} \cdot v_1 = i(\lambda_+ - 2)v_1\). Similarly, for \(\lambda_-\) we get \(v_2 = i(\lambda_- - 2)v_1\). Computing the inner product gives \(1 + i(\lambda_+ - 2) \cdot (-i)(\lambda_- - 2) = 1 + (\lambda_+ - 2)(\lambda_- - 2)\). By Vieta's formulas, \((\lambda_+ - 2)(\lambda_- - 2) = \lambda_+\lambda_- - 2(\lambda_+ + \lambda_-) + 4 = 5 - 10 + 4 = -1\). Therefore the inner product \(= 1 + (-1) = 0\) ✓.
M-4. Derivation of Commutator Identity¶
Solution Strategy: Expand each commutator according to its definition, write out all 12 terms, and verify the cancellations.
Proof:
Using the definition of the commutator \([\hat{X}, \hat{Y}] = \hat{X}\hat{Y} - \hat{Y}\hat{X}\), we expand each term.
First term:
Second term: Cyclic permutation \(\hat{A} \to \hat{B}\), \(\hat{B} \to \hat{C}\), \(\hat{C} \to \hat{A}\):
Third term: Another cyclic permutation:
Summing all 12 terms:
| Term | First | Second | Third | Total |
|---|---|---|---|---|
| \(\hat{A}\hat{B}\hat{C}\) | \(+1\) | \(0\) | \(-1\) | \(0\) |
| \(\hat{A}\hat{C}\hat{B}\) | \(-1\) | \(+1\) | \(0\) | \(0\) |
| \(\hat{B}\hat{C}\hat{A}\) | \(-1\) | \(+1\) | \(0\) | \(0\) |
| \(\hat{C}\hat{B}\hat{A}\) | \(+1\) | \(0\) | \(-1\) | \(0\) |
| \(\hat{B}\hat{A}\hat{C}\) | \(0\) | \(-1\) | \(+1\) | \(0\) |
| \(\hat{C}\hat{A}\hat{B}\) | \(0\) | \(-1\) | \(+1\) | \(0\) |
All terms cancel:
\(\blacksquare\)
Verification: This can be confirmed concretely using \(A = \sigma_z\), \(B = \sigma_x\) from D7, together with \(C = \sigma_y\). Using \([\sigma_z, \sigma_x] = 2i\sigma_y\), \([\sigma_x, \sigma_y] = 2i\sigma_z\), \([\sigma_y, \sigma_z] = 2i\sigma_x\), we get \([\sigma_z, 2i\sigma_z] + [\sigma_x, 2i\sigma_x] + [\sigma_y, 2i\sigma_y] = 2i[\sigma_z, \sigma_z] + 2i[\sigma_x, \sigma_x] + 2i[\sigma_y, \sigma_y] = 0 + 0 + 0 = 0\) ✓ (any operator commutes with itself).
M-5. Proof of the Schwarz Inequality¶
Solution Strategy: Introduce an auxiliary vector \(|w\rangle = |\psi\rangle - t|\phi\rangle\) and derive the inequality from \(\langle w|w\rangle \geq 0\).
Proof:
Case 1: When \(|\phi\rangle = \mathbf{0}\).
Right-hand side \(= \langle\phi|\phi\rangle \cdot \langle\psi|\psi\rangle = 0\), left-hand side \(= |\langle\phi|\psi\rangle|^2 = |0|^2 = 0\). Therefore \(0 \leq 0\) and the inequality holds trivially.
Case 2: When \(|\phi\rangle \neq \mathbf{0}\).
For any complex number \(t\), let \(|w\rangle = |\psi\rangle - t|\phi\rangle\). By the positive-definiteness of the inner product:
We now choose \(t\) optimally. To find the \(t\) that minimizes \(\langle w|w\rangle\), set
(this is well-defined since \(\langle\phi|\phi\rangle > 0\)). Then:
Substituting into (\(*\)):
Noting that \(\langle\psi|\phi\rangle \cdot \langle\phi|\psi\rangle = |\langle\phi|\psi\rangle|^2\) and simplifying:
Multiplying both sides by \(\langle\phi|\phi\rangle > 0\):
\(\blacksquare\)
Equality condition: Equality holds when \(\langle w|w\rangle = 0\), i.e., when \(|w\rangle = \mathbf{0}\). This means
That is, equality holds when \(|\psi\rangle\) and \(|\phi\rangle\) are linearly dependent (one is a scalar multiple of the other).
Verification: Let us check with a concrete example. For \(|\psi\rangle = \begin{pmatrix}1\\0\end{pmatrix}\), \(|\phi\rangle = \begin{pmatrix}1\\1\end{pmatrix}\): - Left-hand side: \(|\langle\phi|\psi\rangle|^2 = |1|^2 = 1\) - Right-hand side: \(\langle\phi|\phi\rangle \cdot \langle\psi|\psi\rangle = 2 \cdot 1 = 2\) - \(1 \leq 2\) ✓ (strict inequality since linearly independent)
For \(|\psi\rangle = \begin{pmatrix}2\\2\end{pmatrix} = 2|\phi\rangle/\sqrt{?}\)... \(|\psi\rangle = 2\begin{pmatrix}1\\1\end{pmatrix} = 2|\phi\rangle\): - Left-hand side: \(|\langle\phi|\psi\rangle|^2 = |2 \cdot 2|^2 = |4|^2 = 16\) - Right-hand side: \(2 \cdot 8 = 16\) - \(16 = 16\) ✓ (equality holds since linearly dependent)
Advanced¶
A-1. Basis Transformation by Unitary Matrices and Transformation Rules for Matrix Representations¶
(a) Proof that \(U\) is a unitary matrix¶
Solution strategy: Compute \((U^\dagger U)_{jk}\) and insert the completeness relation for \(\{|e_l\rangle\}\).
Proof:
From \(U_{jk} = \langle e_j|f_k\rangle\), we have \((U^\dagger)_{jk} = U_{kj}^* = \langle e_k|f_j\rangle^* = \langle f_j|e_k\rangle\).
Computing \((U^\dagger U)_{jk}\):
Using the completeness relation for \(\{|e_l\rangle\}\), \(\sum_{l=1}^{N}|e_l\rangle\langle e_l| = \hat{1}\):
The last equality follows from the orthonormality of \(\{|f_k\rangle\}\). Therefore \(U^\dagger U = \hat{1}\).
Similarly, computing \((UU^\dagger)_{jk}\):
Using the completeness relation for \(\{|f_l\rangle\}\), \(\sum_{l=1}^{N}|f_l\rangle\langle f_l| = \hat{1}\):
Therefore \(U\) is a unitary matrix. \(\blacksquare\)
(b) Transformation rule for matrix representations¶
Solution strategy: Insert the completeness relation for \(\{|f_l\rangle\}\) into \(A^{(e)}_{jk} = \langle e_j|\hat{A}|e_k\rangle\).
Proof:
Inserting the completeness relation for \(\{|f_l\rangle\}\) on both sides of \(\hat{A}\):
This is precisely the definition of matrix multiplication, so:
\(\blacksquare\)
(c) Basis independence of the trace¶
Solution strategy: Use the cyclic property of the trace.
Proof:
Using the cyclic property of the trace, \(\mathrm{Tr}(XYZ) = \mathrm{Tr}(ZXY)\):
Therefore, the trace of an operator is independent of the choice of basis. \(\blacksquare\)
Verification (direct confirmation of the cyclic property): We compute directly using indices.
Using the completeness relation \(\sum_k |e_k\rangle\langle e_k| = \hat{1}\), this is the representation of \(\mathrm{Tr}(\hat{A})\) in the basis \(\{|e_k\rangle\}\). Similarly, in the basis \(\{|f_k\rangle\}\):
Indeed they agree ✓.
A-2. Tensor Product Space and Construction of the Bell Basis¶
(a) Proof that the Bell basis forms an orthonormal basis¶
Solution strategy: Using the inner product in the tensor product space \(\langle jk|lm\rangle = \delta_{jl}\delta_{km}\), compute the inner product for all combinations of the four Bell states.
Norm of each vector:
By similar calculations (since the squares of all signs yield \(+1\)):
Inner products between different vectors:
Since \(|\Phi^\pm\rangle\) are linear combinations of \(|00\rangle, |11\rangle\) and \(|\Psi^\pm\rangle\) are linear combinations of \(|01\rangle, |10\rangle\), the inner products between the \(\Phi\) family and the \(\Psi\) family are automatically 0:
(Because the inner products of distinct standard basis vectors are all 0.)
The remaining combinations:
From the above, the four Bell states are mutually orthogonal, each with norm 1. Since \(\mathbb{C}^2 \otimes \mathbb{C}^2\) is a 4-dimensional space, four orthonormal vectors form a basis.
(b) Proof that \(|\Phi^+\rangle\) is an entangled state¶
Solution strategy: Use proof by contradiction. Assume \(|\Phi^+\rangle = |a\rangle \otimes |b\rangle\) and derive a contradiction.
Proof:
Assume \(|\Phi^+\rangle = |a\rangle \otimes |b\rangle\) can be written as a product state. Let
Then:
Setting this equal to \(|\Phi^+\rangle = \frac{1}{\sqrt{2}}(|00\rangle + |11\rangle) = \frac{1}{\sqrt{2}}|00\rangle + 0 \cdot |01\rangle + 0 \cdot |10\rangle + \frac{1}{\sqrt{2}}|11\rangle\) and comparing coefficients:
From (I), \(a_0 \neq 0\) and \(b_0 \neq 0\).
From (II), since \(a_0 \neq 0\), we have \(b_1 = 0\).
From (IV), since \(b_1 = 0\), we get \(a_1 b_1 = 0 \neq \frac{1}{\sqrt{2}}\). Contradiction.
\(\blacksquare\)
Verification: We confirm that a contradiction also arises via an alternative path. From (IV), \(a_1 \neq 0\) and \(b_1 \neq 0\). But from (II), either \(a_0 = 0\) or \(b_1 = 0\). Since \(b_1 \neq 0\), we have \(a_0 = 0\). Then from (I), \(a_0 b_0 = 0 \neq \frac{1}{\sqrt{2}}\). Contradiction ✓. Both paths lead to a contradiction.
(c) Expansion of an arbitrary state in the Bell basis¶
Solution strategy: Express the standard basis in terms of the Bell basis by inverting the definitions, then substitute. Alternatively, find each expansion coefficient via inner products.
Calculation:
First, invert the Bell basis definitions to express the standard basis in terms of the Bell basis:
Substituting into \(|\psi\rangle = \alpha|00\rangle + \beta|01\rangle + \gamma|10\rangle + \delta|11\rangle\):
Grouping by Bell basis states:
Summarizing the expansion coefficients:
Verification: Check the normalization condition.
By the parallelogram law, \(|\alpha + \delta|^2 + |\alpha - \delta|^2 = 2(|\alpha|^2 + |\delta|^2)\), and similarly \(|\beta + \gamma|^2 + |\beta - \gamma|^2 = 2(|\beta|^2 + |\gamma|^2)\), so:
Also, as a special case, when \(|\psi\rangle = |\Phi^+\rangle\) (\(\alpha = \delta = 1/\sqrt{2}\), \(\beta = \gamma = 0\)): \(c_{\Phi^+} = \frac{1/\sqrt{2} + 1/\sqrt{2}}{\sqrt{2}} = 1\), and all others are 0 ✓.
Feedback on this page
Let us know if something was unclear, incorrect, or could be improved.