An observable is a physical quantity that can be measured, such as energy or a specified component of spin. Standard quantum mechanics represents it by a self-adjoint operator. For finite matrices this condition is written , where the dagger denotes conjugate transpose.
The spectrum determines the allowed outcomes. Energy is represented by the Hamiltonian. For a discrete energy eigenstate, an ideal energy measurement returns the corresponding eigenvalue. For a superposition of distinct energies, the state's amplitudes determine the probabilities of the possible outcomes.
The observable specifies which question the apparatus asks. Spin along z and spin along x are two distinct observables for the same particle. A preparation can make the outcome of one certain while producing a distribution for the other.
To calculate what a projective measurement can return in a finite system, diagonalize the observable. Each eigenvalue labels an outcome, and its eigenspace tells you which inputs yield that outcome with certainty. Projecting onto the eigenspaces gives the full probability distribution.