HomeAcademic & ResearchGeneralized quantum circuit differentiation rules

Generalized quantum circuit differentiation rules

Our Technology Banner

Variational quantum algorithms that are used for quantum machine learning rely on the ability to automatically differentiate parametrized quantum circuits with respect to underlying parameters. Here we propose the rules for differentiating quantum circuits (unitaries) with arbitrary generators. Unlike the standard parameter-shift rule valid for unitaries generated by operators with spectra limited to at most two unique eigenvalues (represented by involutory and idempotent operators), our approach also works for generators with a generic nondegenerate spectrum. Based on a spectral decomposition, we derive a simple recipe that allows explicit derivative evaluation. The derivative corresponds to the weighted sum of measured expectations for circuits with shifted parameters. The number of function evaluations is equal to the number of unique positive nonzero spectral gaps (eigenvalue differences) for the generator. We apply the approach to relevant examples of two-qubit gates, among others showing that the so-called fermionic simulation (fSim) gate can be differentiated using four measurements. Additionally, we present generalized differentiation rules for the case of Pauli-string generators, based on distinct shifts (here referred to as the triangulation approach), and analyze the variance for derivative measurements in different scenarios. Our work offers a toolbox for the efficient hardware-oriented differentiation needed for circuit optimization and operator-based derivative representation.

Generalized quantum circuit differentiation rules | Phys. Rev. A

About Pasqal

Pasqal is leading the industrialization and deployment of neutral-atom quantum computing, transforming Nobel Prize-winning research into real-world solutions for industry, science, and governments. Since 2019, the company has built high-performance quantum systems and cloud-ready software that tackle the world’s most complex challenges in optimization, simulation, and AI. With a truly global footprint — including teams and facilities across Europe, North America, and Asia — and backed by over $215 million from international investors, Pasqal is accelerating the adoption of robust, high-performance quantum computing.

For more information, visit www.pasqal.com.