1: \begin{abstract}
2: We present \capse{}, a novel neural network-based emulator designed for rapid and accurate prediction of Cosmic Microwave Background (CMB) temperature, polarization, and lensing angular power spectra. The emulator computes predictions in just a few microseconds with emulation errors below $0.1\sigma$ for all the scales relevant for the upcoming CMB-S4 survey. \capse{} can also be trained in an hour's time on a 8-cores CPU.
3: We test \capse{} on \planck{} 2018, ACT DR4, and 2018 SPT-3G data and demonstrate its capability to derive cosmological constraints comparable to those obtained by traditional methods, but with a computational efficiency that is three to six orders of magnitude higher. We take advantage of the differentiability of our emulators to use gradient-based methods, such as Pathfinder and Hamiltonian Monte Carlo (HMC), which speed up the convergence and increase sampling efficiency.
4: Together, these features make \capse{} a powerful tool for studying the CMB and its implications for cosmology. When using the fastest combination of our likelihoods, emulators, and analysis algorithm, we are able to perform a \planck{} $TT+TE+EE$ analysis in less than a second. To ensure full reproducibility, we provide open access to the codes and data required to reproduce all the results of this work \github
5: \end{abstract}
6: