Abstract
Soon after the dawn of quantum error correction, DiVincenzo and Peres observed that stabilizer codewords naturally yield proofs of quantumness via contextuality — in the language of nonlocal games, every n-qubit stabilizer state defines a stabilizer-testing game that quantum players win with probability one. However, the optimal classical winning probabilities for scalable families beyond the n-qubit GHZ state remain largely unknown. We introduce several new methods for upper-bounding the classical values of these games. We first prove a general coding-theory bound for all stabilizer-testing games: if the classical value pcl* < 1, then pcl* ≤ 7/8. We then prove tighter bounds for the most common scalable examples: GHZ, cyclic-cluster, and toric-code states. Finally, we establish an asymptotically tight upper bound for cyclic-cluster states using transfer-matrix methods. Our results lead to the striking conclusion that measuring an exponentially small fidelity to the cluster state will suffice to witness its contextuality.