  In a real vector space, the  (inner or dot) product  of a pair of vectors \(\ket{A}\) and \(\ket{B}\), written ‘\(\braket{A}{B}\)’ is a scalar equal to the product of their lengths (or ‘norms’) times the cosine of the angle, \(\theta\), between them: