In quantum mechanics, the state of a physical system is represented as a vector in a Hilbert space: a complex vector space with an inner product.