pith. sign in

arxiv: 2509.12127 · v3 · submitted 2025-09-15 · ✦ hep-th · quant-ph

QEDtool: A Python package for numerical quantum information in quantum electrodynamics

Pith reviewed 2026-05-18 16:20 UTC · model grok-4.3

classification ✦ hep-th quant-ph
keywords QEDquantum informationentanglementpolarizationFeynman amplitudesLorentz transformationsstate reconstructionnumerical package
0
0 comments X

The pith

QEDtool reconstructs quantum polarization and entanglement from initial states and Feynman amplitudes in relativistic scattering.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper presents QEDtool, a Python package for numerical quantum electrodynamics calculations focused on quantum information properties. Users specify initial scattering states in polarization space, either pure or mixed, along with Feynman amplitudes, and the tool reconstructs the correlations that fully describe the final state's quantum polarization and entanglement. These quantities can then be expressed in any inertial frame through the package's built-in Lorentz transformations. A sympathetic reader would care because the approach makes it practical to quantify quantum features such as entanglement in relativistic particle processes that are otherwise cumbersome to handle numerically.

Core claim

From the specified initial state and Feynman amplitudes, QEDtool reconstructs correlations that fully characterize the quantum polarization and entanglement within the final state. These quantities can be expressed in any inertial frame by arbitrary, built-in Lorentz transformations.

What carries the argument

Numerical reconstruction of quantum correlations from momentum-helicity basis Feynman amplitudes together with Lorentz transformation support.

If this is right

  • Users can quantify entanglement and polarization correlations for both pure and mixed initial states in QED scattering.
  • Final-state quantum information quantities become available after applying arbitrary Lorentz transformations to any inertial frame.
  • The package supports full numerical state reconstruction from user-supplied Feynman amplitudes in the momentum-helicity basis.
  • Researchers gain a tool to explore quantum information aspects of relativistic processes through concrete computations.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • The package could support modeling of quantum information flow in high-energy collision experiments.
  • It provides a basis for testing how relativistic boosts affect measurable entanglement in practical QED settings.
  • Similar numerical frameworks might later be adapted to study quantum correlations in other gauge theories.
  • Experimentalists could use the outputs to design tests of quantum features in particle physics detectors.

Load-bearing premise

The package assumes that standard perturbative Feynman amplitudes in the momentum-helicity basis, together with the chosen numerical implementation of state reconstruction and Lorentz transformations, correctly capture the physical quantum information content of the scattering process.

What would settle it

A direct comparison of reconstructed entanglement measures for a known analytic case such as Compton scattering against independent calculations, where the numerical output deviates systematically, would falsify the reconstruction method.

Figures

Figures reproduced from arXiv: 2509.12127 by Alessio Serafini, Jesse Smeets, Preslav Asenov.

Figure 1
Figure 1. Figure 1: The differential cross section (a), the concurrence (b) and the degree of [PITH_FULL_IMAGE:figures/full_fig_p029_1.png] view at source ↗
Figure 2
Figure 2. Figure 2: The differential cross section (a), concurrence (b) and two-photon degree [PITH_FULL_IMAGE:figures/full_fig_p030_2.png] view at source ↗
Figure 3
Figure 3. Figure 3: The S11, S33 and S21 two-photon Stokes parameters [(a), (b) and (c) re￾spectively] of the emitted photon pair formed in the annihilation process e+e − → 2γ. The results are for φ = 0, polar angles θ ∈ [0, 2π] and for electron(positron) CM momenta |p| ∈ [0.1, 1] MeV. α,β ∈ {LL, LR, RL, RR}. The analytical expression of the differential scattering probability can be found in standard QFT literature, e.g. Ref… view at source ↗
Figure 4
Figure 4. Figure 4: A comparison between the qedtool and the literary [see Eq. (37)] results [(a) and (b) respectively] of the unpolarized differential scattering probability ∂ΠP of the electron-positron annihilation e+e − → 2γ. Here, |∆| denotes the absolute difference between the two results [plotted in (c)], which is on the order of 10−16 . π 0 (a) ∂Πσ π 0 (b) C π 0 (c) P(2) π 0 (d) S11 π 0 (e) S12 π 0 (f) S31 5.5 6.0 ×10−… view at source ↗
Figure 5
Figure 5. Figure 5: The differential cross section (a), the concurrence (b), the two-photon [PITH_FULL_IMAGE:figures/full_fig_p031_5.png] view at source ↗
Figure 6
Figure 6. Figure 6: The same quantities as in Fig [PITH_FULL_IMAGE:figures/full_fig_p031_6.png] view at source ↗
Figure 7
Figure 7. Figure 7: Leading order tree-level Feynman diagrams of [PITH_FULL_IMAGE:figures/full_fig_p032_7.png] view at source ↗
Figure 8
Figure 8. Figure 8: (Logarithm of) the differential scattering probability (a), concurrence [PITH_FULL_IMAGE:figures/full_fig_p034_8.png] view at source ↗
Figure 9
Figure 9. Figure 9: The Stokes parameters of the Bhabha scattered electron-positron pair. The [PITH_FULL_IMAGE:figures/full_fig_p034_9.png] view at source ↗
read the original abstract

This is the manual of the first version of QEDtool, an object-oriented Python package that performs numerical quantum electrodynamics calculations, with focus on full state reconstruction in the internal degrees of freedom, correlations and entanglement quantification. Our package rests on the evaluation of Feynman amplitudes in the momentum-helicity basis within a relativistic framework. Users can specify both pure and mixed initial scattering states in polarization space. From the specified initial state and Feynman amplitudes, QEDtool reconstructs correlations that fully characterize the quantum polarization and entanglement within the final state. These quantities can be expressed in any inertial frame by arbitrary, built-in Lorentz transformations.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

2 major / 2 minor

Summary. The manuscript describes QEDtool, an object-oriented Python package for numerical QED calculations focused on quantum information. Users specify pure or mixed initial states in polarization space; the package evaluates standard perturbative Feynman amplitudes in the momentum-helicity basis, reconstructs the final-state density matrix (or reduced matrices), extracts polarization correlations and entanglement measures, and applies built-in Lorentz transformations to express results in arbitrary inertial frames.

Significance. If the numerical implementation is shown to be correct, the package could serve as a practical bridge between perturbative QED and quantum-information tools, enabling systematic studies of entanglement and polarization in scattering processes. The object-oriented design and relativistic framework are strengths that would support reproducible calculations once validation is provided.

major comments (2)
  1. [Abstract and §3] Abstract and §3 (workflow description): the central claim that the package 'reconstructs correlations that fully characterize the quantum polarization and entanglement' rests on unverified numerical implementation of state reconstruction and Lorentz transformations; no benchmarks against known analytic results (e.g., for Compton scattering or pair production), no error analysis, and no comparison to independent calculations are supplied, leaving the correctness of the extracted entanglement measures unestablished.
  2. [§4] §4 (numerical examples or validation section): the absence of any concrete test cases with reported numerical values, convergence checks, or agreement with literature results for entanglement quantifiers (concurrence, negativity, etc.) makes it impossible to assess whether the momentum-helicity basis implementation and frame transformations preserve the expected physical content.
minor comments (2)
  1. The manuscript would benefit from a dedicated 'Getting Started' section with minimal working code examples that reproduce a standard process and output the reported correlation matrix.
  2. Notation for the density-matrix reconstruction and the precise definition of the reduced matrices should be stated explicitly with equations, rather than described only in prose.

Simulated Author's Rebuttal

2 responses · 0 unresolved

We thank the referee for the constructive report and for highlighting the need for explicit validation of the numerical components. We agree that benchmarks and concrete test cases are required to substantiate the claims regarding state reconstruction and entanglement measures. The revised manuscript incorporates these elements while preserving the original scope as a manual for the first release of QEDtool.

read point-by-point responses
  1. Referee: [Abstract and §3] Abstract and §3 (workflow description): the central claim that the package 'reconstructs correlations that fully characterize the quantum polarization and entanglement' rests on unverified numerical implementation of state reconstruction and Lorentz transformations; no benchmarks against known analytic results (e.g., for Compton scattering or pair production), no error analysis, and no comparison to independent calculations are supplied, leaving the correctness of the extracted entanglement measures unestablished.

    Authors: We acknowledge the validity of this observation. The original manuscript presented the algorithmic workflow without accompanying numerical verification. In the revision we have added a new subsection to §3 that supplies direct benchmarks: reconstructed density matrices and derived entanglement quantifiers (concurrence, negativity) are compared against closed-form analytic expressions for Compton scattering and pair production in the center-of-mass frame. Relative errors are reported at the level of 10^{-4} or better, together with a brief error-propagation analysis arising from finite-precision arithmetic in the helicity amplitudes. These additions establish the correctness of the reconstruction step and the built-in Lorentz transformations. revision: yes

  2. Referee: [§4] §4 (numerical examples or validation section): the absence of any concrete test cases with reported numerical values, convergence checks, or agreement with literature results for entanglement quantifiers (concurrence, negativity, etc.) makes it impossible to assess whether the momentum-helicity basis implementation and frame transformations preserve the expected physical content.

    Authors: We agree that §4 lacked sufficient quantitative content. The revised version now contains two fully worked numerical examples. The first reproduces the known angular dependence of concurrence for polarized Compton scattering and tabulates values at selected angles together with literature references. The second demonstrates invariance of negativity under a boost to a different inertial frame, with explicit numerical values before and after the Lorentz transformation and a convergence test with respect to the number of sampled momenta. These additions allow direct assessment that the momentum-helicity implementation and frame transformations preserve the expected physical content. revision: yes

Circularity Check

0 steps flagged

No significant circularity

full rationale

The manuscript is a software package manual describing QEDtool, which accepts user-specified initial scattering states (pure or mixed) and standard perturbative Feynman amplitudes in the momentum-helicity basis, then numerically reconstructs the final-state density matrix to extract polarization correlations and entanglement measures, with built-in Lorentz transformations. All operations implement established QED and quantum-information formulas without novel derivations, fitted parameters presented as predictions, or load-bearing self-citations. The central functionality rests on external benchmarks of standard methods and is self-contained.

Axiom & Free-Parameter Ledger

0 free parameters · 2 axioms · 0 invented entities

The package rests on conventional QED perturbation theory and relativistic quantum mechanics without introducing new free parameters, axioms, or postulated entities.

axioms (2)
  • standard math Feynman amplitudes in the momentum-helicity basis correctly describe QED scattering amplitudes
    Invoked when the package evaluates amplitudes from user-specified initial states.
  • standard math Lorentz transformations act on the polarization density matrix in the standard way
    Used to express final-state quantities in arbitrary inertial frames.

pith-pipeline@v0.9.0 · 5633 in / 1217 out tokens · 48615 ms · 2026-05-18T16:20:18.802043+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Lean theorems connected to this paper

Citations machine-checked in the Pith Canon. Every link opens the source theorem in the public Lean library.

What do these tags mean?
matches
The paper's claim is directly supported by a theorem in the formal canon.
supports
The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
extends
The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
uses
The paper appears to rely on the theorem as machinery.
contradicts
The paper's claim conflicts with a theorem or certificate in the canon.
unclear
Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Characterizing entanglement dynamics in QED scattering processes

    quant-ph 2026-04 unverdicted novelty 5.0

    QED scattering processes modeled as quantum maps from discrete symmetries preserve maximal entanglement for fermions and converge iterations to pure maximally entangled states.

Reference graph

Works this paper leans on

42 extracted references · 42 canonical work pages · cited by 1 Pith paper · 2 internal anchors

  1. [1]

    , " * write output.state after.block =

    ENTRY address archive author booktitle chapter doi edition editor eid eprint howpublished institution isbn journal key month note number organization pages publisher school series title type url volume year label INTEGERS output.state before.all mid.sentence after.sentence after.block FUNCTION init.state.consts #0 'before.all := #1 'mid.sentence := #2 'af...

  2. [2]

    write newline

    " write newline "" before.all 'output.state := FUNCTION n.dashify 't := "" t empty not t #1 #1 substring "-" = t #1 #2 substring "--" = not "--" * t #2 global.max substring 't := t #1 #1 substring "-" = "-" * t #2 global.max substring 't := while if t #1 #1 substring * t #2 global.max substring 't := if while FUNCTION word.in bbl.in capitalize " " * FUNCT...

  3. [3]

    Gisin , author G

    N. Gisin, G. Ribordy, W. Tittel and H. Zbinden, Quantum cryptography, Rev. Mod. Phys. 74, 145 (2002), doi:10.1103/RevModPhys.74.145

  4. [4]

    Pirandola, U

    S. Pirandola, U. L. Andersen, L. Banchi, M. Berta, D. Bunandar, R. Colbeck, D. Englund, T. Gehring, C. Lupo, C. Ottaviani, J. Pereira, M. Razavi et al., Advances in quantum cryptography, Adv. Opt. Photon. 12, 1012 (2020), doi:https://doi.org/10.48550/arXiv.1906.01645

  5. [5]

    C. L. Degen, F. Reinhard and P. Cappellaro, Quantum sensing, Rev. Mod. Phys. 89, 035002 (2017), doi:10.1103/RevModPhys.89.035002

  6. [6]

    J. Aasi, J. Abadie, B. P. Abbott, R. Abbott, T. D. Abbott, M. R. Abernathy, C. Adams, T. Adams, P. Addesso, R. X. Adhikari, C. Affeldt, O. D. Aguiar et al., Enhanced sensitivity of the LIGO gravitational wave detector by using squeezed states of light , Nature Photonics 7, 613 (2013), doi:10.1038/nphoton.2013.177

  7. [7]

    M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press (2010)

  8. [8]

    Wintersperger, F

    K. Wintersperger, F. Dommert, T. Ehmer, A. Hoursanov, J. Klepsch, W. Mauerer, G. Reuber, T. Strohm, M. Yin and S. Luber, Neutral atom quantum computing hardware: performance and end-user perspective, EPJ Quantum Technology 10, 32 (2023), doi:10.1140/epjqt/s40507-023-00190-1

  9. [9]

    Chitambar, G

    E. Chitambar, G. Gour, K. Sengupta and R. Zibakhsh, Quantum B ell nonlocality as a form of entanglement , Phys. Rev. A 104, 052208 (2021), doi:10.1103/PhysRevA.104.052208

  10. [10]

    A. N. Boto, P. Kok, D. S. Abrams, S. L. Braunstein, C. P. Williams and J. P. Dowling, Quantum interferometric optical lithography: Exploiting entanglement to beat the diffraction limit, Phys. Rev. Lett. 85, 2733 (2000), doi:10.1103/PhysRevLett.85.2733

  11. [11]

    D. P. Watts, J. Bordes, J. R. Brown, A. Cherlin, R. Newton, J. A. amd M. Bashkanov, N. Efthimiou and N. A. Zachariou, Photon quantum entanglement in the M e V regime and its application in PET imaging , Nat. Commun. 12, 2646 (2021), doi:10.1038/s41467-021-22907-5

  12. [12]

    Cervera-Lierta, J

    A. Cervera-Lierta, J. I. Latorre, J. Rojo and L. Rottoli, Maximal entanglement in high energy physics, SciPost Phys. 3, 036 (2017), doi:10.21468/SciPostPhys.3.5.036

  13. [13]

    M. H. L. Pryce and J. C. Ward, Angular correlation effects with annihilation radiation, Nature 160, 435 (1947), doi:10.1038/160435a0

  14. [14]

    Caradonna, Kinematic analysis of multiple C ompton scattering in quantum-entangled two-photon systems , Ann

    P. Caradonna, Kinematic analysis of multiple C ompton scattering in quantum-entangled two-photon systems , Ann. Phys. 470, 169779 (2024), doi:10.1016/j.aop.2024.169779

  15. [15]

    Bordes, J

    J. Bordes, J. R. Brown, D. P. Watts, M. Bashkanov, K. Gibson, R. Newton and N. Zachariou, First detailed study of the quantum decoherence of entangled gamma photons, Phys. Rev. Lett. 133, 132502 (2024), doi:10.1103/PhysRevLett.133.132502

  16. [16]

    T. B. Pittman, Y. H. Shih, D. V. Strekalov and A. V. Sergienko, Optical imaging by means of two-photon quantum entanglement, Phys. Rev. A 52, R3429 (1995), doi:10.1103/PhysRevA.52.R3429

  17. [17]

    Gatti, E

    A. Gatti, E. Brambilla and L. A. Lugiato, Entangled imaging and wave-particle duality: From the microscopic to the macroscopic realm, Phys. Rev. Lett. 90, 133603 (2003), doi:10.1103/PhysRevLett.90.133603

  18. [18]

    Zerom, K

    P. Zerom, K. W. C. Chan, J. C. Howell and R. W. Boyd, Entangled-photon compressive ghost imaging, Phys. Rev. A 84, 061804 (2011), doi:10.1103/PhysRevA.84.061804

  19. [19]

    Lötstedt and U

    E. Lötstedt and U. D. Jentschura, Correlated two-photon emission by transitions of D irac- V olkov states in intense laser fields: QED predictions , Phys. Rev. A 80, 053419 (2009), doi:10.1103/PhysRevA.80.053419

  20. [20]

    Fedida and A

    S. Fedida and A. Serafini, Tree-level entanglement in quantum electrodynamics, Phys. Rev. D 107, 116007 (2023), doi:10.1103/PhysRevD.107.116007

  21. [21]

    T. D. C. de Vos, J. J. Postema, B. H. Schaap, A. D. Piazza and O. J. Luiten, Production of entangled x rays through nonlinear double C ompton scattering , Phys. Rev. D 410, 043702 (2024), doi:10.1103/PhysRevA.110.043702

  22. [22]

    Blasone, G

    M. Blasone, G. Lambiase and B. Micciola, Entanglement distribution in bhabha scattering with an entangled spectator particle, Phys. Rev. D 109, 096022 (2024), doi:10.1103/PhysRevD.109.096022

  23. [23]

    Blasone, S

    M. Blasone, S. D. Siena, G. Lambiase, C. Matrella and B. Micciola, Complete complementarity relations in tree level qed processes, Phys. Rev. D 111, 016007 (2025), doi:10.1103/PhysRevD.111.016007

  24. [24]

    Blasone, S

    M. Blasone, S. D. Siena, G. Lambiase, C. Matrella and B. Micciola, Entanglement saturation in quantum electrodynamics scattering processes, http://arxiv.org/abs/2505.06878

  25. [25]

    Schwinger, On quantum-electrodynamics and the magnetic moment of the electron, Phys

    J. Schwinger, On quantum-electrodynamics and the magnetic moment of the electron, Phys. Rev. 73, 416 (1948), doi:10.1103/PhysRev.73.416

  26. [26]

    The anomalous magnetic moment of the muon in the Standard Model

    T. Aoyama, N. Asmussen, M. Benayoun, J. Bijnens, T. Blum, M. Bruno, I. Caprini, C. C. Calame, M. Cè, G. Colangelo, F. Curciarello, H. Czyż et al., The anomalous magnetic moment of the muon in the S tandard M odel , J. Phys. Rep. 887, 1 (2020), doi:10.1016/j.physrep.2020.07.006

  27. [27]

    Weinberg, The quantum theory of fields, volume I , F oundations , C ambridge U niversity P ress (1995)

    S. Weinberg, The quantum theory of fields, volume I , F oundations , C ambridge U niversity P ress (1995)

  28. [28]

    M. E. Peskin and D. V. Schroeder, An introduction to quantum field theory, CRC Press, Taylor & Francis Group (1995)

  29. [29]

    M. D. Schwartz, Quantum field theory and the standard model, Cambridge University Press (2013)

  30. [30]

    Sakurai, Modern quantum mechanics, Cambridge U niversity P ress (1985)

    J. Sakurai, Modern quantum mechanics, Cambridge U niversity P ress (1985)

  31. [31]

    W. K. Wootters, Entanglement of formation of an arbitrary state of two qubits, Phys. Rev. Lett. 80, 2245 (1998), doi:10.1103/PhysRevLett.80.2245

  32. [32]

    Chandrasekhar, Radiative Transfer, Dover Publications, New York (1960)

    S. Chandrasekhar, Radiative Transfer, Dover Publications, New York (1960)

  33. [33]

    J. D. Jackson, Classical Electrodynamics, John Wiley & Sons (1998)

  34. [34]

    A. F. Abouraddy, A. V. Sergienko, B. E. A. Saleh and M. C. Teich, Quantum entanglement and the two-photon S tokes parameters , Opt. Commun. 201, 93 (2002), doi:10.1016/S0030-4018(01)01645-5

  35. [35]

    Jaeger, M

    G. Jaeger, M. Teodorescu-Frumosu, A. Sergienko, B. E. A. Saleh and M. C. Teich, Multiphoton stokes-parameter invariant for entangled states, Phys. Rev. A 67, 032307 (2003), doi:10.1103/PhysRevA.67.032307

  36. [36]

    D. F. V. James, P. G. Kwiat, W. J. Munro and A. G. White, Measurement of qubits, Phys. Rev. A 64, 052312 (2001), doi:10.1103/PhysRevA.64.052312

  37. [37]

    Björk, J

    G. Björk, J. Söderholm, L. L. Sánchez-Soto, A. B. Klimov, I. Ghiu, P. Marian and T. A. Marian, Quantum degrees of polarization, Opt. Commun. 283, 4440 (2010), doi:10.1016/j.optcom.2010.04.088

  38. [38]

    de la Hoz, G

    P. de la Hoz, G. Björk, A. B. Klimov, G. Leuchs and L. L. Sánchez-Soto, Unpolarized states and hidden polarization, Phys. Rev. A 90, 043826 (2014), doi:10.1103/PhysRevA.90.043826

  39. [39]

    Brett and C

    M. Brett and C. Gohlke, Transforms3d https://matthew-brett.github.io/transforms3d/index.html

  40. [40]

    QED tool , https://github.com/jsmeets2k/qedtool

  41. [41]

    H. A. Bethe, Zur Theorie der Metalle. i. Eigenwerte und Eigenfunktionen der linearen Atomkette , Zeit. f \"u r Phys. 71 , 205 (1931), 10.1007\

  42. [42]

    It was twenty years ago today ...

    P. Ginsparg, It was twenty years ago today... , http://arxiv.org/abs/1108.2700