Skip to content

Document the QED couplings: G_mu for the grids, running alphaqed for eko - #270

Merged
juanrojochacon merged 3 commits into
mainfrom
fix/qed-running-alpha
Dec 1, 2026
Merged

juanrojochacon merged 3 commits into
mainfrom
fix/qed-running-alpha

Conversation

@juanrojochacon

@juanrojochacon juanrojochacon commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Document the QED couplings: G_mu scheme for the grids, running alphaqed for the EKOs

Following the discussion in NNPDF/nnpdf#2541 (and the review here), this PR no longer adds a theory-card key or changes any code. It is now only documentation.

Change

  • New docs page docs/source/theory/qed.rst ("QED couplings"). The grids are computed in the G_mu scheme, alpha_Gmu = sqrt(2) G_F M_W^2 (1 - M_W^2/M_Z^2)/pi = 1/132.1, which does not run. A grid stores the powers of alpha, not its value, so pineko never uses this coupling. EKO solves the MSbar QED RGE from alphaqed at Qref. So alphaqed must be the running MSbar coupling, e.g. alpha-hat^(5)(M_Z)^-1 = 127.930 +- 0.008 (PDG 2024, Sect. 10, added to refs.bib), and not alpha_Gmu.
  • A comment in theory.py where pineko sets Qedref = Qref. In eko.io.runcards.Legacy, Qedref == Qref sets em_running = True, so eko runs alpha_em from alphaqed.
  • The alpha_qed_running_mz key, its helper and its test are removed, following agreements.

The value 127.930 (PDG 2024) was cross-checked against the PDG 2026 inputs with the PDG relation between the MSbar and on-shell couplings, which gives 127.961 +- 0.014, a 0.024% difference that is negligible in the context of QED PDF fits. Details are in NNPDF/nnpdf#2541.

For the EKOs made by pineko, em_running is True, because pineko sets Qedref = Qref before building Legacy. With em_running = True, eko.couplings evolves alpha_em with the QED beta function. @felixhekhorn, please check!

The check that alphaqed is not alpha_Gmu lives in nnpdf (TheoryCard, NNPDF/nnpdf#2541).

AI usage

Harness: Claude Code; model: Claude Opus 5.5.

The physics content and the decision to turn this PR into a documentation PR were done by hand. Claude Code / Claude Opus 5.5 drafted the docs page, the comment and this description, and traced how eko sets em_running. Everything was then reviewed and edited by hand.

When the theory card gives alpha_qed_running_mz (the running QED
coupling at M_Z, NNPDF/nnpdf companion PR), use it instead of alphaqed
as the boundary value of the alpha_em running in the EKOs. alphaqed can
be the fixed electroweak-scheme coupling alpha_Gmu, which does not obey
the QED RGE. Theories without the key are unchanged.
Comment thread src/pineko/theory_card.py Resolved
Comment thread src/pineko/theory_card.py Resolved
@scarlehoff

Copy link
Copy Markdown
Member

There's nothing really to do in pineko given NNPDF/nnpdf#2541 (comment)

Following the discussion in NNPDF/nnpdf#2541, drop the new theory-card
key alpha_qed_running_mz and its code. Instead, add a docs page
(theory/qed.rst) explaining that the PineAPPL grids are computed in the
G_mu scheme with a fixed coupling, while eko runs alpha_em in MSbar from
alphaqed at Qref, so alphaqed must be the running MSbar coupling
(1/127.930 at M_Z, PDG 2024). The same running MSbar coupling is used
in the evaluation of the photon PDF with FiatLux (in nnpdf).

Add a comment where pineko sets Qedref = Qref.
@juanrojochacon juanrojochacon changed the title Pass the running QED coupling alpha_qed_running_mz to EKO Document the QED couplings: G_mu for the grids, running alphaqed for eko Nov 26, 2026
@juanrojochacon

Copy link
Copy Markdown
Contributor Author

@kamillaurent could you have a look when you have a moment? After the discussion in NNPDF/nnpdf#2541 this is now a docs-only PR: theory/qed.rst explains that alphaqed is the running MSbar alpha_em at Qref, plus a comment where Qedref = Qref.

@kamillaurent

Copy link
Copy Markdown

@juanrojochacon yes, I will have a look

@juanrojochacon

Copy link
Copy Markdown
Contributor Author

thanks. Let's get this done once and for all so that we can recompute the FK tables and make sure we can produce a sensible NNPDF4.1 QED fit!

Comment thread docs/source/theory/qed.rst Resolved
@juanrojochacon

Copy link
Copy Markdown
Contributor Author

@felixhekhorn can I merge? your comments do not apply to the new version

Comment thread docs/source/theory/qed.rst Resolved
Comment thread docs/source/theory/qed.rst Resolved
Comment thread docs/source/refs.bib Resolved
Comment thread docs/source/theory/qed.rst Resolved
Comment thread docs/source/theory/qed.rst Resolved
Comment thread docs/source/theory/qed.rst Resolved
Comment thread docs/source/theory/qed.rst Resolved
@felixhekhorn

Copy link
Copy Markdown
Contributor

General comment: please always resolve comments directly which you believe to have addressed and which are uncontroversial. This way we know quicker what is still relevant

@juanrojochacon

Copy link
Copy Markdown
Contributor Author

Thanks I will do this right now

- Explain that the card key QED is the maximum power of alpha in the
  evolution, and that eko supports up to QED = 2 (NLO QED).
- Drop the numerical values (alpha_Gmu ~ 1/132.1 and the PDG 2024
  alpha(M_Z)) and the PDG reference: they are user inputs.
- Use only two notations, alpha_{G_mu} (fixed) and alpha(mu^2)
  (running), and drop the hat on alpha^(5)(M_Z^2).
- Say that the value of alpha used by the generator is already in
  the grid weights.
@juanrojochacon
juanrojochacon merged commit dfcac39 into main Dec 1, 2026
5 checks passed
Comment thread src/pineko/theory.py
Comment on lines 402 to 406
# Deprecated keys still needed by eko below. TODO: remove them asap.
# Qedref = Qref makes eko run alpha_em from alphaqed at Qref, so alphaqed must be
# the running MSbar coupling, not the fixed G_mu-scheme coupling of the grids
tcard["Qedref"] = tcard["Qref"]
tcard["MaxNfAs"] = tcard["MaxNfPdf"]

@felixhekhorn felixhekhorn Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Deprecated keys still needed by eko below. TODO: remove them asap.
# Qedref = Qref makes eko run alpha_em from alphaqed at Qref, so alphaqed must be
# the running MSbar coupling, not the fixed G_mu-scheme coupling of the grids
tcard["Qedref"] = tcard["Qref"]
tcard["MaxNfAs"] = tcard["MaxNfPdf"]
# Qedref = Qref makes eko run alpha_em from alphaqed at Qref, so alphaqed must be
# the running MSbar coupling, not the fixed G_mu-scheme coupling of the grids
tcard["Qedref"] = tcard["Qref"]

I think these lines must be further improved to this. This is to clarify the confusion I had earlier and to confirm what @juanrojochacon said

For the EKOs made by pineko, em_running is True, because pineko sets Qedref = Qref before building Legacy. With em_running = True, eko.couplings evolves alpha_em with the QED beta function. @felixhekhorn, please check!

i.e., in particular, Qedref is not deprecated, but in fact necessary to invoke the behavior we want.

The situation currently is confusing:

cc @scarlehoff

Aaand eventually MaxNfAs is actually deprecated, see here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants