In quantum mechanics, the Holstein–Primakoff transformation is a mapping from boson creation and annihilation operators to the spin operators, effectively truncating their infinite-dimensional Fock space to finite-dimensional subspaces.