In quantum mechanics, because of the wave-particle duality, the properties of the particle can be described as a wave. Therefore, its quantum state can be represented as a wave of arbitrary shape and extending over all of space. This is called a wave function