Skip to main content
Chemistry LibreTexts

1.35: Matrix Mechanics

  • Page ID
    143949
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    The basic principles of quantum theory can be demonstrated very simply by exploring the properties of electron spin using Heisenberg's formulation of quantum mechanics which is usually referred to as matrix mechanics. The matrix formulation provides clear illustrations of the following essential quantum mechanical concepts: eigenvector, operator, eigenvalue, expectation value, the linear superposition, and the commutation relations.

    Four quantum numbers are required to describe the electron in quantum mechanics. The last of these is the spin quantum number, s. The electron has a spin component in the x-, y-, and z-directions and for each of these directions the electron can have a value of spin-up or spin-down, or +1 and -1 in units of \(\frac{h}{4 \pi}\). These spin states are represented by vectors as is shown below.

    \(\mathrm{S}_{\mathrm{xu}} :=\frac{1}{\sqrt{2}} \cdot \left( \begin{array}{l}{1} \\ {1}\end{array}\right)\) \(\mathrm{S}_{\mathrm{xd}} :=\frac{1}{\sqrt{2}} \cdot \left( \begin{array}{c}{1} \\ {-1}\end{array}\right)\) \(\left(\overline{\mathrm{S}_{x u}}\right)^{\mathrm{T}}=\begin{pmatrix}0.707 & 0 .707 \end{pmatrix}\) \(\left(\overline{\mathrm{S}_{\mathrm{xd}}}\right)^{\mathrm{T}}=\begin{pmatrix}0.707 & -0 .707 \end{pmatrix}\)
    \(\mathrm{S}_{\mathrm{yu}} :=\frac{1}{\sqrt{2}} \cdot \left( \begin{array}{l}{1} \\ {i}\end{array}\right)\) \(\mathrm{S}_{\mathrm{yd}} :=\frac{1}{\sqrt{2}} \cdot \left( \begin{array}{c}{1} \\ {-\mathrm{i}}\end{array}\right)\) \(\left(\overline{\mathrm{S}_{\mathrm{yu}}}\right)^{\mathrm{T}}=\begin{pmatrix}0.707 & -0 .707i \end{pmatrix}\) \(\left(\overline{\mathrm{S}_{yd}}\right)^{\mathrm{T}}=\begin{pmatrix}0.707 & 0 .707i \end{pmatrix}\)
    \(\mathrm{S}_{\mathrm{zu}} :=\left( \begin{array}{l}{1} \\ {0}\end{array}\right)\) \(\mathrm{S}_{\mathrm{zd}} :=\left( \begin{array}{l}{0} \\ {1}\end{array}\right)\) \(\left(\overline{\mathrm{S}_{z u}}\right)^{\mathrm{T}}=\begin{pmatrix}1 & 0 \end{pmatrix}\) \(\left(\overline{\mathrm{S}_{yd}}\right)^{\mathrm{T}}=\begin{pmatrix}0 & 1 \end{pmatrix}\)

    Let's look at the the y-direction spin states because they are complex, and therefore are slightly more difficult to deal with. In Dirac notation these four vectors are written as |Syu>, |Syd>, <Syu|, and <Syd|. Note that the bra-vectors are the transpose of the complex conjugate of the ket-vectors. It is also easy to show that these spin vectors in the x-, y-, and z-directions form orthonormal basis sets. That means they are normalized and orthogonal to each other.

    \(\left(\overline{\mathrm{S}_{\mathrm{xu}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{xu}}=1\) \(\left(\overline{\mathrm{S}_{\mathrm{xd}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{xd}}=1\) \(\left(\overline{\mathrm{S}_{\mathrm{xu}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{xd}}=0\)
    \(\left(\overline{\mathrm{S}_{\mathrm{yu}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{yu}}=1\) \(\left(\overline{\mathrm{S}_{\mathrm{yd}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{yd}}=1\) \(\left(\overline{\mathrm{S}_{\mathrm{yu}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{yd}}=0\)
    \(\left(\overline{\mathrm{S}_{\mathrm{zu}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{zu}}=1\) \(\left(\overline{\mathrm{S}_{\mathrm{zd}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{zd}}=1\) \(\left(\overline{\mathrm{S}_{\mathrm{zu}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{zd}}=0\)

    In Dirac notation we would write the first row as: <Sxu|Sxu> = <Sxd|Sxd> = 1, <Sxu|Sxd> = 0. In other words the projection of the spin states onto themselves is 1 (normalized) and the projection onto the other state is zero (orthogonal).

    The calculations above for the y-direction spin vectors are shown explicitly below. You should do hand calculations on all of the above for practice and to have some appreciation for what the computer is doing.

    \[(0.707-0.707 \mathrm{i}) \cdot \left( \begin{array}{c}{0.707} \\ {0.707 \mathrm{i}}\end{array}\right)=1 \\ (0.707 \quad 0.707 \mathrm{i}) \cdot \left( \begin{array}{c}{0.707} \\ {-0.707 \mathrm{i}}\end{array}\right)=1 \\ (0.707-0.707 \mathrm{i}) \cdot \left( \begin{array}{c}{0.707} \\ {-0.707 \mathrm{i}}\end{array}\right)=0 \nonumber \]

    It is easy to show that x- and z-spin states are not orthogonal to one another. This is true of any two different spin directions. <Sxu|Szu> = 0.707, for example.

    \[
    \left(\overline{\mathrm{S}_{\mathrm{xu}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{zu}}=0.707 \quad\left(\overline{\mathrm{S}_{\mathrm{xu}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{zd}}=0.707 \quad \left(\overline{\mathrm{S}_{\mathrm{xd}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{zu}}=0.707 \quad\left(\overline{\mathrm{S}_{\mathrm{xd}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{zd}}=-0.707
    \nonumber \]

    This of course means that |Sxu> and |Sxd> can be written as linear superpositions of |Szu> and |Szd>, and |Szu> and |Szd> can be written as linear superpositions of |Sxu> and |Sxd>.

    \[
    \mathrm{S}_{\mathrm{xu}}=\left( \begin{array}{c}{0.707} \\ {0.707}\end{array}\right) \qquad \frac{1}{\sqrt{2}} \cdot \mathrm{S}_{\mathrm{zu}}+\frac{1}{\sqrt{2}} \cdot \mathrm{S}_{\mathrm{zd}}=\left( \begin{array}{c}{0.707} \\ {0.707}\end{array}\right) \\ \mathrm{S}_{\mathrm{xd}}=\left( \begin{array}{c}{0.707} \\ {-0.707}\end{array}\right) \qquad \frac{1}{\sqrt{2}} \cdot \mathrm{S}_{\mathrm{zu}}-\frac{1}{\sqrt{2}} \cdot \mathrm{S}_{\mathrm{zd}}=\left( \begin{array}{c}{0.707} \\ {-0.707}\end{array}\right) \\ \mathrm{S}_{\mathrm{zu}}=\left( \begin{array}{l}{1} \\ {0}\end{array}\right) \qquad \frac{1}{\sqrt{2}} \cdot \mathrm{S}_{\mathrm{xu}}+\frac{1}{\sqrt{2}} \cdot \mathrm{S}_{\mathrm{xd}}=\left( \begin{array}{l}{1} \\ {0}\end{array}\right) \\ \mathrm{S}_{\mathrm{zd}}=\left( \begin{array}{l}{0} \\ {1}\end{array}\right) \qquad \frac{1}{\sqrt{2}} \cdot \mathrm{S}_{\mathrm{xu}}-\frac{1}{\sqrt{2}} \cdot \mathrm{S}_{\mathrm{xd}}=\left( \begin{array}{l}{0} \\ {1}\end{array}\right)
    \nonumber \]

    The concept of the linear superposition is central in quantum theory and has no classical analog. For example, if by measurement an electron is found to have spin-up in the z-direction, this means that the electron does not have a definite spin in either the x- or the y-direction because |Szu> is a linear superposition of the x- and y-direction spin states.

    \[\mathrm{S}_{zu}=\left( \begin{array}{l}{1} \\ {0}\end{array}\right) \qquad \frac{1}{\sqrt{2}} \cdot \mathrm{S}_{\mathrm{xu}}+\frac{1}{\sqrt{2}} \cdot \mathrm{S}_{\mathrm{xd}}=\left( \begin{array}{l}{1} \\ {0}\end{array}\right) \qquad \frac{1}{\sqrt{2}} \cdot \mathrm{S}_{\mathrm{yu}}+\frac{1}{\sqrt{2}} \cdot \mathrm{S}_{\mathrm{yd}}=\left( \begin{array}{l}{1} \\ {0}\end{array}\right) \nonumber \]

    In spite of its appearance, a linear superposition is not a mixture. In other words |Szu> is not 50% |Sxu> and 50% |Sxd>, or 50% |Syu> and 50% |Syd>.

    Another central dogma of quantum theory is that the wavefunction or state vector contains all the physical information available for the system. Quantum mechanics therefore consists, in large part, of extracting physical information from the wavefunction or state vector. Quantum mechanics consists of a small set of rules for carrying this procedure out mathematically.

    For every observable of the system there is an operator. Since electrons can spin in the x-, y-, or z-directions, there are spin operators in those directions, or for that matter in any other arbitrary direction you might think of. (See Appendix B for the construction of a general spin operator.) In quantum mechanics states are vectors and operators are matrices. The spin operators in units of \(\frac{h}{4 \pi}\) are shown below. Note that squaring these operators gives the identity operator.

    \(\mathrm{S}_{\mathrm{x}}=\left( \begin{array}{ll}{0} & {1} \\ {1} & {0}\end{array}\right)\) \(\mathrm{S}_{\mathrm{y}} :=\left( \begin{array}{cc}{0} & {-\mathrm{i}} \\ {\mathrm{i}} & {0}\end{array}\right)\) \(\mathrm{S}_{\mathrm{z}} :=\left( \begin{array}{cc}{1} & {0} \\ {0} & {-1}\end{array}\right)\)
    \(\mathrm{S}_{\mathrm{x}}^{2}=\left( \begin{array}{ll}{1} & {0} \\ {0} & {1}\end{array}\right)\) \(\mathrm{S}_{\mathrm{y}}^{2}=\left( \begin{array}{ll}{1} & {0} \\ {0} & {1}\end{array}\right)\) \(\mathrm{S}_{2}^{2}=\left( \begin{array}{ll}{1} & {0} \\ {0} & {1}\end{array}\right)\)

    The square of the total spin operator in units of \(\frac{h}{4 \pi}\) is

    \[
    \mathrm{S} 2 :=\mathrm{S}_{\mathrm{x}}^{2}+\mathrm{S}_{\mathrm{y}}^{2}+\mathrm{S}_{\mathrm{z}}^{2} \quad \mathrm{S} 2=\left( \begin{array}{ll}{3} & {0} \\ {0} & {3}\end{array}\right)
    \nonumber \]

    A measurement operator extracts information about the system by operating on the wavefunction or state vector. One possible outcome is that the operation returns the state vector multiplied by a numerical constant. For example,

    \[
    \mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{xu}}=\left( \begin{array}{c}{0.707} \\ {0.707}\end{array}\right)
    \nonumber \]

    \[
    \mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{xd}}=\left( \begin{array}{c}{-0.707} \\ {0.707}\end{array}\right)
    \nonumber \]

    \[
    \mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{yu}}=\left( \begin{array}{c}{0.707} \\ {0.707 \mathrm{i}}\end{array}\right)
    \nonumber \]

    \[
    \mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{yd}}=\left( \begin{array}{c}{-0.707} \\ {0.707 \mathrm{i}}\end{array}\right)
    \nonumber \]

    \[
    \mathrm{S}_{z} \cdot \mathrm{S}_{\mathrm{zu}}=\left( \begin{array}{l}{1} \\ {0}\end{array}\right)
    \nonumber \]

    \[
    \mathrm{S}_{z} \cdot \mathrm{S}_{\mathrm{zd}}=\left( \begin{array}{c}{0} \\ {-1}\end{array}\right)
    \nonumber \]

    or, for example:

    \[
    \left( \begin{array}{cc}{1} & {0} \\ {0} & {-1}\end{array}\right) \cdot \left( \begin{array}{l}{0} \\ {1}\end{array}\right)=\left( \begin{array}{c}{0} \\ {-1}\end{array}\right)
    \nonumber \]

    In Dirac notation we would summarize these calculations as follows: Sx|Sxu> = +1|Sxu>, Sx|Sxd> = -1|Sxd>, Sy|Syu> = +1|Syu>, Sy|Syd> = -1|Syd>, Sz|Szu> = +1|Szu>, Sz|Szd> = -1|Szd>. In each of these cases, the state vector is an eigenfunction of the measurement operator with eigenvalue of either +1 or -1 (in units of \(\frac{h}{4 \pi}\)). We say, for example, that |Sxu> is an eigenfunction of Sx with eigenvalue +1. The electron has a well-defined value for spin in the x-direction (spin-up) and subsequent measurements of the x-direction spin will yield the value of +1 as long as no intervening measurements in another spin direction are made.

    The other possible outcome of the measurement operation is that it yields another state vector.

    \(\mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{yu}}=\left( \begin{array}{l}{0.707 \mathrm{i}} \\ {0.707}\end{array}\right)\) \(\mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{yd}}=\left( \begin{array}{c}{-0.707 \mathrm{i}} \\ {0.707}\end{array}\right)\) \(
    \mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{zu}}=\left( \begin{array}{l}{0} \\ {1}\end{array}\right)
    \)
    \(\mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{zd}}=\left( \begin{array}{l}{1} \\ {0}\end{array}\right)\)
    \(\mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{xu}}=\left( \begin{array}{c}{-0.707 \mathrm{i}} \\ {0.707 \mathrm{i}}\end{array}\right)\) \(\mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{xd}}=\left( \begin{array}{l}{0.707 \mathrm{i}} \\ {0.707 \mathrm{i}}\end{array}\right)\) \(\mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{zu}}=\left( \begin{array}{l}{0} \\ {\mathrm{i}}\end{array}\right)\) \(\mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{zd}}=\left( \begin{array}{c}{-\mathrm{i}} \\ {0}\end{array}\right)\)
    \(\mathrm{S}_{\mathrm{z}} \cdot \mathrm{S}_{\mathrm{xu}}=\left( \begin{array}{c}{0.707} \\ {-0.707}\end{array}\right)\) \(\mathrm{S}_{\mathrm{Z}} \cdot \mathrm{S}_{\mathrm{xd}}=\left( \begin{array}{l}{0.707} \\ {0.707}\end{array}\right)\) \(\mathrm{S}_{z} \cdot \mathrm{s}_{\mathrm{yu}}=\left( \begin{array}{c}{0.707} \\ {-0.707 \mathrm{i}}\end{array}\right)\) \(\mathrm{S}_{\mathrm{z}} \cdot \mathrm{S}_{\mathrm{yd}}=\left( \begin{array}{c}{0.707} \\ {0.707 \mathrm{i}}\end{array}\right)\)

    In Dirac notation these operations appear as: Sx|Syu> = i|Syd>, Sx|Syd> = -i|Syu>, Sx|Szu> = |Szd>, Sx|Szd> = |Szu>, etc. In each case the resulting vector is different than the vector operated on. We say, for example, |Syu> is not an eigenfunction of Sx, and therefore an electron in this state does not have a definite value for spin in the x-direction. X-direction spin measurements on a system known to be in state |Syu> will yield completely random results.

    To put it another way, quantum mechanical principles state that a system can be in a well-defined state, |Syu>, and yet the outcome of all experiments are not unikely determined. While a measurement of spin in the y-direction will yield a predictable result, +1, measurement of spin in the x- or z-direction is completely unpredictable and all we can calculate is the average value, or expectation value for a large number of measurements. This is completely different than classical physics where if you know the state of the system, you know the values of all physical observables.

    As another example, consider the ground state of the hydrogen atom for which the electron's wave function is \(\Psi=\pi^{-1 / 2} \exp (-r)\). When the electron is in this state it has a precise energy, but not a well-defined position or momentum. This, of course, makes the concept of an electron trajectory impossible and it is, therefore, meaningless to think of the electron as moving in any traditional sense.

    The quantum mechanical algorithm for calculating the expectation value is to execute the following matrix multiplication: <State Vector | Operator | State Vector>. This formalism is quite general and can be used whether the state vector is an eigenfunction of the operator or not. This is demonstrated below for the spin states that we have been studying.

    \(\left(\overline{\mathrm{S}_{\mathrm{xu}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{xu}}=1\) \(\left(\overline{\mathrm{S}_{\mathrm{xd}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{xd}}=-1\) \(\left(\overline{\mathrm{S}_{\mathrm{zu}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{zu}}=0\)
    \(\left(\overline{\mathrm{S}_{\mathrm{zd}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{zd}}=0\) \(\left(\overline{\mathrm{S}_{\mathrm{yu}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{yu}}=0\) \(\left(\overline{\mathrm{S}_{\mathrm{yd}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{yd}}=0\)
    \(\left(\overline{\mathrm{S}_{\mathrm{xu}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{xu}}=0\) \(\left(\overline{\mathrm{S}_{\mathrm{xd}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{y}}\cdot \mathrm{S}_{\mathrm{xd}}=0\) \(\left(\overline{\mathrm{S}_{\mathrm{zu}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{zu}}=0\)
    \(\left(\overline{\mathrm{S}_{\mathrm{zd}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{zd}}=0\) \(\left(\overline{\mathrm{S}_{\mathrm{yu}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{yu}}=1\) \(\left(\overline{\mathrm{S}_{\mathrm{yd}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{yd}}=-1\)
    \(\left(\overline{\mathrm{S}_{\mathrm{xu}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{z}} \cdot \mathrm{S}_{\mathrm{xu}}=0\) \(\left(\overline{\mathrm{S}_{\mathrm{xd}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{z}} \cdot \mathrm{S}_{\mathrm{xd}}=0\) \(\left(\overline{\mathrm{S}_{\mathrm{zu}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{z}} \cdot \mathrm{S}_{\mathrm{zu}}=1\)
    \(\left(\overline{\mathrm{S}_{\mathrm{zd}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{z}}\cdot \mathrm{S}_{\mathrm{zd}}=-1\) \(\left(\overline{\mathrm{S}_{\mathrm{yu}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{z}} \cdot \mathrm{S}_{\mathrm{yu}}=0\) \(\left(\overline{\mathrm{S}_{\mathrm{yd}}}\right)^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{z}} \cdot \mathrm{S}_{\mathrm{yd}}=0\)

    Let's look at the first six enteries because they are representative of the remaining results. If the electron is in the state |Sxu> measurement of Sx will always yield the value of +1 (in units of \(\frac{h}{4 \pi}\))). If the electron is in the state |Sxd> measurement of Sx will always yield the value of -1 (in units of \(\frac{h}{4 \pi}\))). If instead Sy or Sz are measured, the measurement results will be a statistically random collection of +1 and -1, and the average value will, of course, be zero. Only when the system is in an eigenstate of the measurement operator is the outcome of the experiment certain.

    This brings us to the concept of probability and how it is calculated in quantum mechanics. The projection of one state on to another, <Szu | Sxd > = 0.707, is a probability amplitude. Its absolute square, <Sxd | Szu > <Szu | Sxd > = |<Szu | Sxd>|2 = 0.5 (remember <Sxd | Szu> = <Szu | Sxd>*), is the probability that an electron in state |Sxd> will be found by measurement in the state |Szu>. Representative calculations are shown below. (See the Appendix A for another computational method.)

    \[
    \left[|(\overline{\mathrm{S}_{\mathrm{zu}}})^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{xu}}|\right]^{2}=0.5 \quad \left[|(\overline{\mathrm{S}_{\mathrm{zd}}})^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{xu}}|\right]^{2}=0.5 \quad \left[|(\overline{\mathrm{S}_{\mathrm{xu}}})^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{yu}}|\right]^{2}=0.5 \quad \left[|(\overline{\mathrm{S}_{\mathrm{xu}}})^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{xd}}|\right]^{2}=0.5
    \nonumber \]

    Let's review these concepts by taking a specific example. The electron is in the state |Sxu> and we wish to measure Sz. According to quantum mechanical procedures the average value for a statistically meaningful number of measurements is zero -<Sxu | Sz | Sxu> = 0. The eigenstates (eigenfunctions) for Sz are |Szu> and |Szd> with eigenvalues +1 and -1, respectively. As the first two entries above show, the probability that an electron in state |Sxu> will be found in |Szu> with eigenvalue +1 is 0.5, and the probaility that it will be found in state |Szd> with eigenvalue -1 is 0.5. Thus, the average value is expected to be zero, and the two ways of determining the average or expectation value of a measurement are consistent and equivalent.

    There is yet another way to look at this issue. In quantum mechanics for most pairs of observables the order of measurement is important. Quantum mechanical operators don't generally commute. For example, as shown below, SxSy|Szu> does not equal SySx|Szu>. This means that if the electron is in the state |Szu> the combined operators SxSy and SySx yield different measurement results.

    \[
    \mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{zu}}=\left( \begin{array}{c}{\mathrm{i}} \\ {0}\end{array}\right) \quad \mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{zu}}=\left( \begin{array}{c}{-\mathrm{i}} \\ {0}\end{array}\right) \quad \left(\mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{y}}-\mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{x}}\right) \cdot \mathrm{S}_{\mathrm{zu}}=\left( \begin{array}{c}{2 \mathrm{i}} \\ {0}\end{array}\right)
    \nonumber \]

    Operators that do not commute have incompatible eigenstates. If a state vector is an eigenstate of one of the operators, it is not an eigenstate of the other. The fact that Sx and Sy do not commute means that an electron cannot simultaneously have well-defined values for Sx and Sy. It is not surprising that there is a deep connection between these properties of operators and the Uncertainty Principle. The commutators for the spin operators are shown below.

    \[
    \mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{y}}-\mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{x}}=\left( \begin{array}{cc}{2 \mathrm{i}} & {0} \\ {0} & {-2 \mathrm{i}}\end{array}\right) \qquad 2 \cdot \mathrm{i} \cdot \mathrm{S}_{\mathrm{z}}=\left( \begin{array}{cc}{2 \mathrm{i}} & {0} \\ {0} & {-2 \mathrm{i}}\end{array}\right) \\ \mathrm{S}_{\mathrm{z}} \cdot \mathrm{S}_{\mathrm{x}}-\mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{z}}=\left( \begin{array}{cc}{0} & {2} \\ {-2} & {0}\end{array}\right) \qquad 2 \cdot \mathrm{i} \cdot \mathrm{S}_{\mathrm{y}}=\left( \begin{array}{cc}{0} & {2} \\ {-2} & {0}\end{array}\right) \\ \mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{z}}-\mathrm{S}_{\mathrm{z}} \cdot \mathrm{S}_{\mathrm{y}}=\left( \begin{array}{cc}{0} & {2 \mathrm{i}} \\ {2 \mathrm{i}} & {0}\end{array}\right) \qquad 2 \cdot \mathrm{i} \cdot \mathrm{S}_{\mathrm{x}}=\left( \begin{array}{cc}{0} & {2 \mathrm{i}} \\ {2 \mathrm{i}} & {0}\end{array}\right)
    \nonumber \]

    The Uncertainty Principle can also be illustrated by calculating \(\Delta\)Sx and \(\Delta\)Sy for an electron known to be in the Szu state. Since we are working in units of \(\frac{h}{4 \pi}\), the uncertainty relation is: \(\Delta \mathrm{S}_{\mathrm{x}} \cdot \Delta \mathrm{S}_{\mathrm{y}} \geq 1\).

    \[
    \sqrt{\mathrm{S}_{\mathrm{zu}}^{T} \cdot \mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{zu}}-\left(\mathrm{S}_{\mathrm{zu}}^{T} \cdot \mathrm{S}_{\mathrm{x}} \cdot \mathrm{S}_{\mathrm{zu}}\right)^{2}} \cdot \sqrt{\mathrm{S}_{\mathrm{zu}}^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{zu}}-\left(\mathrm{S}_{\mathrm{zu}}^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{y}} \cdot \mathrm{S}_{\mathrm{zu}}\right)^{2}}=1
    \nonumber \]

    We have been dealing with matrix operators and their associated eigenvectors and eigenvalues. The eigenvectors and eigenvalues can be obtained from the matrix operators with Mathcad's eigenvecs and eigenvals commands as is shown below.

    \[\begin{matrix} \text{eignevals}\left(\mathrm{S}_{\mathrm{x}}\right)=\left( \begin{array}{c}{1} \\ {-1}\end{array}\right) & \text{eigenvec}\left(\mathrm{S}_{\mathrm{x}}, 1\right)=\left( \begin{array}{l}{0.707} \\ {0.707}\end{array}\right) & \text{eigenvec}\left(\mathrm{S}_{\mathrm{x}}, -1\right)=\left( \begin{array}{l}{-0.707} \\ {0.707}\end{array}\right) \\ \text{eignevals}\left(\mathrm{S}_{\mathrm{y}}\right)=\left( \begin{array}{c}{1} \\ {-1}\end{array}\right) & \text{eigenvec}\left(\mathrm{S}_{\mathrm{y}}\right)=\left( \begin{array}{cc}{-0.707 \mathrm{i}} & {0.707} \\ {0.707} & {-0.707 \mathrm{i}}\end{array}\right) & \; \\ \text{eignevals}\left(\mathrm{S}_{\mathrm{z}}\right)=\left( \begin{array}{c}{1} \\ {-1}\end{array}\right) & \text{eigenvec}\left(\mathrm{S}_{\mathrm{z}}\right)=\left( \begin{array}{cc}{1} & {0} \\ {0} & {1}\end{array}\right) & \; \end{matrix} \nonumber \]

    One final thing we will do is to demonstrate the completeness relationship. For example, |Szu> <Szu| + |Szd> <Szd| = I, the identity operator. This demonstrates that the spin eigenfunction for the various Cartesian directions span the two-dimensional space.

    \[
    \mathrm{S}_{\mathrm{zu}} \cdot \mathrm{S}_{\mathrm{zu}}^{\mathrm{T}}+\mathrm{S}_{\mathrm{zd}}\cdot \mathrm{S}_{\mathrm{zd}}^{\mathrm{T}}=\left( \begin{array}{ll}{1} & {0} \\ {0} & {1}\end{array}\right) \\ \mathrm{S}_{\mathrm{xu}} \cdot \mathrm{S}_{\mathrm{xu}}^{\mathrm{T}}+\mathrm{S}_{\mathrm{xd}} \cdot \mathrm{S}_{\mathrm{xd}}^{\mathrm{T}}=\left( \begin{array}{ll}{1} & {0} \\ {0} & {1}\end{array}\right) \\ \mathrm{S}_{\mathrm{yu}} \cdot\left(\overline{\mathrm{S}_{\mathrm{yu}}}\right)^{\mathrm{T}}+\mathrm{S}_{\mathrm{yd}} \cdot\left(\overline{\mathrm{S}_{\mathrm{yd}}}\right)^{\mathrm{T}}=\left( \begin{array}{ll}{1} & {0} \\ {0} & {1}\end{array}\right)
    \nonumber \]

    Appendix A

    By the method outlined above we can show that the probability that a Szu electron will be found in the Sxu spin state is 0.5.

    \[
    \left[|(\overline{\mathrm{S}_{\mathrm{xu}}})^{\mathrm{T}} \cdot \mathrm{S}_{\mathrm{zu}}|\right]^{2}=0.5
    \nonumber \]

    This calculation can be rewritten in terms of the trace of the product of the |Szu> <Szu| and |Sxu> <Sxu| projection operators.

    \[
    \left|\left\langle S_{x u} | S_{z u}\right\rangle\right|^{2}=\left\langle S_{z u} | S_{x u}\right\rangle\left\langle S_{x u} | S_{z u}\right\rangle =\sum_{i}\left\langle S_{z u} | i\right\rangle\langle i | S_{x u}\rangle\left\langle S_{x u} | S_{z u}\right\rangle =\sum_{i}\langle i | S_{x u}\rangle\left\langle S_{x u} | S_{z u}\right\rangle\left\langle S_{z u} | i\right\rangle = \operatorname{Trace}( |S_{x u}\rangle\left\langle S_{x u} | S_{z u}\right\rangle\left\langle S_{z u}|\right)
    \nonumber \]

    where the completeness relation \(\sum_{i} | i \rangle\langle i|=1\) has been employed.

    \[
    \operatorname{tr}\left[\left(\mathrm{S}_{\mathrm{xu}} \cdot \mathrm{S}_{\mathrm{xu}}^{\mathrm{T}}\right) \cdot\left(\mathrm{S}_{\mathrm{zu}} \cdot \mathrm{S}_{\mathrm{zu}}^{\mathrm{T}}\right)\right]=0.5
    \nonumber \]

    Appendix B

    A general spin operator can be constructed using the spherical coordinate system, where \(\theta\) is the angle relative to z-axis and f is the angle relative to the x-axis.

    \[
    \mathrm{S}(\theta, \phi) :=\cos (\phi) \cdot \sin (\theta) \cdot \mathrm{S}_{\mathrm{x}}+\sin (\phi) \cdot \sin (\theta) \cdot \mathrm{S}_{\mathrm{y}}+\cos (\theta) \cdot \mathrm{S}_{\mathrm{z}}
    \nonumber \]

    To confirm the validity of this general operator, we generate the traditional x-, y- and z-direction spin operators.

    \[
    \mathrm{S}\left(\frac{\pi}{2}, 0\right)=\left( \begin{array}{ll}{0} & {1} \\ {1} & {0}\end{array}\right) \quad \mathrm{S}\left(\frac{\pi}{2}, \frac{\pi}{2}\right)=\left( \begin{array}{cc}{0} & {-\mathrm{i}} \\ {\mathrm{i}} & {0}\end{array}\right) \quad S(0,0)=\left( \begin{array}{cc}{1} & {0} \\ {0} & {-1}\end{array}\right)
    \nonumber \]

    For the Hadamard gate (operator), which is important in quantum computing, \(\theta = \frac{\pi}{4}\) and \(\phi = 0\).

    \[
    \mathrm{S}\left(\frac{\pi}{4}, 0\right)=\left( \begin{array}{cc}{0.707} & {0.707} \\ {0.707} & {-0.707}\end{array}\right)
    \nonumber \]

    As shown below it represents a Fourier transform between the x and z spin eigenstates.

    \[
    \mathrm{S}\left(\frac{\pi}{4}, 0\right) \mathrm{S}_{\mathrm{zu}}=\left( \begin{array}{l}{0.707} \\ {0.707}\end{array}\right) \quad \mathrm{S}\left(\frac{\pi}{4}, 0\right) \mathrm{S}_{\mathrm{xu}}=\left( \begin{array}{l}{1} \\ {0}\end{array}\right) \\ \mathrm{S}\left(\frac{\pi}{4}, 0\right) \mathrm{S}_{\mathrm{zd}}=\left( \begin{array}{c}{0.707} \\ {-0.707}\end{array}\right) \quad \mathrm{S}\left(\frac{\pi}{4}, 0\right) \mathrm{S}_{\mathrm{xd}}=\left( \begin{array}{l}{0} \\ {1}\end{array}\right)
    \nonumber \]


    This page titled 1.35: Matrix Mechanics is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Frank Rioux via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.