We introduce monoprop, an open-source, massively parallel operator-propagation framework for fermion and qubit bases. For qubits or modes, existing codes represent each of the tracked operator terms (Pauli strings or products of Majorana operators) as a -bit string, testing each for anticommutation with the gate at cost per gate. Here, we introduce the anticommutation index which rapidly looks up the terms anticommuting with a gate. A local gate changes only the terms that touch its sites, and when terms are truncated to act on few sites, only a fraction touch any given qubit or mode, and we use this to prove the time per gate scales as . This counterintuitive result tells us that for a fixed number of terms, increasing the number of sites can make things faster. We demonstrate this numerically, and show monoprop scales almost ideally to 8192 cores, tracking terms. Beyond propagation, we present memory-efficient surrogate graphs, which record one propagation and replay it at new angles, for fast energy re-estimation and parameter gradients, and an efficient method for finding energy-minimising gates and optimal angles for simulating adaptive quantum-chemistry circuits.

生成讲解博客的中文版本

生成AI智能校验的中文版本