Simulating Phase-Contrast TEM with Quantum Circuits
Sean D. Lam, Roberto dos Reis
Transmission electron microscopy (TEM) routinely achieves sub-Ångström resolution for imaging atomic structures in materials. Accurate simulations are essential for quantitative microscopy, supporting interpretation of high-resolution phase contrast and multidimensional S/TEM modalities. Classical multislice simulations [1] scale as O(N2log N) per slice on an N × N grid, becoming costly for large fields of view, thick specimens, and systematic parameter sweeps, motivating quantum approaches. We present a quantum algorithmic framework for CTEM image formation using fault-tolerant quantum circuits. Our approach amplitude-encodes the electron wavefield on an N × N grid into a 2log2N-qubit register [2] (Fig. 1a). Free-space propagation and lens aberrations use quantum Fourier transforms (QFTs) and diagonal phase operators, while specimen interaction is modeled under the weak phase object approximation (WPOA) as a diagonal unitary Uobj. The quantum circuit (Fig. 1b) maps each CTEM stage to unitary gates. We validate against classical simulations using abTEM package [3] for MoS2 on a 128 × 128 grid at 80 kV. Fig. 1c-f shows exact agreement at Δf = -80 nm and -10 nm with C3 = 1.3 mm, achieving ρ = 1.000000 and MSE ~10-24. Quantum-computed CTFs match analytical expressions across 80-300 kV, and projected potentials agree with abTEM references to within a few percent. A 256 × 256 circuit requires 58 logical qubits and ~6 × 105 T-gates [4] with polylogarithmic scaling for fixed structures. For the MoS2 benchmark (18 atoms), gate counts increase only 35% from 4 × 4 to 1024 × 1024 grids. However, full N × N image reconstruction requires O(N2/ε2) shots, reaching ~1010 evaluations for 1024 × 1024 images at 1% precision, precluding advantage over GPU-based codes. Quantum advantage lies in three complementary regimes that avoid exhaustive pixel readout: (i) Fourier-space observables - estimating specific structure factors, Bragg peak intensities, or diffraction pattern moments via partial measurement in the QFT basis, requiring O(1) to O(polylog N) samples rather than O(N2); (ii) phase-coherent discriminators - exploiting ancilla-assisted protocols to distinguish structures with classically degenerate intensity signatures by probing the full complex wavefunction ψ = Aeiφ rather than intensity |ψ|2 alone; (iii) extended physics beyond WPOA – simulating inelastic scattering, dynamical diffraction, and many-body correlation effects that scale exponentially for classical tensor-network methods but remain polynomial in system size for quantum circuits. As an additional benchmark, we implemented a 4 × 4 instance of the CTEM circuit on the ibm_torino superconducting quantum processor [5], achieving a classical fidelity of 0.9984 between hardware and ideal simulations after 4096 shots. Figure 2a shows the input projected potential, Fig. 2b the ideal statevector probability distribution, Fig. 2c the measured distribution on IBM hardware, and Fig. 2d the difference map showing sub-1% deviations, demonstrating that small-scale CTEM circuits are already within reach of current NISQ platforms. To demonstrate phase-coherent discrimination, Fig. 2e shows ancilla Y-basis expectation values ⟨Ya⟩ for conjugate ±V phase objects and independent random potentials, while Fig. 2f shows the phase-discrimination signal Δ⟨Ya⟩ = ⟨Ya⟩(+V) – ⟨Ya⟩(–V), achieving robust separation of sign-flipped weak phase objects that produce identical classical intensity images. This framework [7,8] establishes a complete, physics-grounded mapping from established CTEM theory to fault-tolerant quantum circuits with explicit arithmetic circuit constructions for specimen potentials, extending beyond prior oracle-based proposals [6] to gate-level synthesis validated against classical codes. While near-term quantum advantage for full CTEM image reconstruction remains unlikely due to the measurement bottleneck, the framework provides a rigorous baseline for extending toward computationally hard regimes where classical methods struggle, including thick specimens requiring many slices, real-time parameter optimization over high-dimensional microscope settings, and correlation effects in quantum materials [9]. (a) CTEM column and quantum circuit mapping. (b) 4-qubit circuit implementation. (c–f) Quantum vs. classical simulations for 128 × 128 MoS2 at Δf = −80 nm and −10 nm with C3 = 1.3 mm, 80 kV (ρ = 1.000000, MSE ~10−24). Phase discrimination protocol. (a–d) 4 × 4 grid: input potential, ideal and IBM Torino distributions, difference map. (e–f) Ancilla ⟨Ya⟩ values showing robust ±V separation.
Microscopy and Microanalysis•Jul 1, 2026•0 citations