Rafael Wagner, Ernesto F. Galvão (May 11 2026).
Abstract: Noncommutativity of states and observables is a fundamental signature of quantum theory, and a minimal requirement for nonclassicality. We provide a universal necessary and sufficient condition for pairwise commutativity of quantum states
ρ1 and
ρ2: they commute if and only if
tr(ρ12ρ22)=tr(ρ1ρ2ρ1ρ2). For qubits the identity simplifies to an equality between polynomials of purities and of the two-state overlap
tr(ρ1ρ2). These multivariate traces (known as Bargmann invariants) are directly measurable, allowing commutativity tests that bypass full state tomography. We point out possible applications to the analysis of POVM simulability and partial photonic distinguishability.