For a gate exp(-i theta G/2) whose generator squares to the identity, the exact derivative of any expectation value with respect to theta equals half the difference of the expectation values at theta + pi/2 and theta - pi/2.
Peer-reviewed resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01
AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.
Let E(θ)=Tr(OWe−iθG/2ρeiθG/2W†) for a
state ρ, a unitary W and an observable O. Then E has the form
E(θ)=a+bcosθ+csinθ with real a,b,c, and for every θ
dθdE(θ)=2E(θ+2π)−E(θ−2π).
The right-hand side is an exact identity, not a finite-difference approximation: the two
shifted circuits are ordinary circuits of the same depth, so the gradient of a cost with p
such parameters costs 2p expectation-value estimates. For a parameter shared by several
gates, apply the rule to each occurrence and add (chain rule). The rule appeared for Pauli
rotations in Mitarai, Negoro, Kitagawa and Fujii and, for gates
e−iθG′ whose generator has exactly two eigenvalues ±r, in the form
E′(θ)=r[E(θ+s)−E(θ−s)] with s=π/(4r) (the case above is
G′=G/2, r=1/2) in
Schuld, Bergholm, Gogolin, Izaac and Killoran.
Holds when
The parameter θ enters the circuit only through one gate e−iθG/2 with G Hermitian and G2=I (for example a Pauli string); all other gates, the input state and the observable are independent of θ.
Exact expectation values; with finitely many measurement shots each term is estimated with statistical error.
The coefficients a and b are real because O~, ρ and GρG are Hermitian;
c is real because i(ρG−Gρ) is Hermitian. Now
cos(θ±π/2)=∓sinθ and sin(θ±π/2)=±cosθ, so
E(θ+2π)−E(θ−2π)=−2bsinθ+2ccosθ=2dθdE(θ),
which is the claim. For a gate e−iθG′ whose generator has eigenvalues ±r,
apply the result to G=G′/r, which squares to I, and the variable ϕ=2rθ (so
that e−iθG′=e−iϕG/2); the chain
rule gives the shift π/(4r) and prefactor r stated by
Schuld et al.. The Pauli case is that of
Mitarai et al..
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)
Trigonometric form and shift identity re-derived (derivative of a + b cos + c sin equals the half-difference at +-pi/2); general rule r[E(theta+s) - E(theta-s)], s = pi/(4r), compared with Schuld et al. arXiv:1811.11184 (PRA 99, 032331), Eqs. (8)-(14); Mitarai et al. (PRA 98, 032309) attribution consistent with Schuld et al.'s 'generalizes previous results for qubit-based platforms'. Reference metadata compared with Crossref.
Revision history
2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
Current revision b4724b8318d78975. Source file knowledge/records/theorem/parameter-shift-rule.md in the content repository (readable there once it is public).