Dirac notation writes a state vector as a ket . The corresponding bra is its conjugate transpose in a chosen orthonormal basis. Combining a bra and a ket gives an inner product, as in .
The inner product tells you how one state overlaps another. For orthogonal states it vanishes. For a normalized state, equals one. When measuring a projection onto a normalized state , the squared magnitude gives the probability of that result.
Reversing the order gives a different mathematical object. is an operator, the projector onto . The notation keeps these relationships visible, whether a calculation uses qubit vectors, spin states, or position-space wavefunctions.
Order matters even when you keep the same two labels. and are complex conjugates. Their magnitudes are equal, so reversing the order gives the same overlap probability, though the amplitudes themselves can differ.