QEDtool: A Python package for numerical quantum information in quantum electrodynamics
Pith reviewed 2026-05-18 16:20 UTC · model grok-4.3
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.
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
- 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
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.
Referee Report
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)
- [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.
- [§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)
- 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.
- 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
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
-
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
-
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
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
axioms (2)
- standard math Feynman amplitudes in the momentum-helicity basis correctly describe QED scattering amplitudes
- standard math Lorentz transformations act on the polarization density matrix in the standard way
Lean theorems connected to this paper
-
IndisputableMonolith/Cost/FunctionalEquation.leanwashburn_uniqueness_aczel unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
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.
-
IndisputableMonolith/Foundation/RealityFromDistinction.leanreality_from_one_distinction unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
The package rests on the evaluation of Feynman amplitudes in the momentum-helicity basis within a relativistic framework.
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
-
Characterizing entanglement dynamics in QED scattering processes
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
-
[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]
" 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]
N. Gisin, G. Ribordy, W. Tittel and H. Zbinden, Quantum cryptography, Rev. Mod. Phys. 74, 145 (2002), doi:10.1103/RevModPhys.74.145
-
[4]
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]
C. L. Degen, F. Reinhard and P. Cappellaro, Quantum sensing, Rev. Mod. Phys. 89, 035002 (2017), doi:10.1103/RevModPhys.89.035002
work page internal anchor Pith review doi:10.1103/revmodphys.89.035002 2017
-
[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]
M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press (2010)
work page 2010
-
[8]
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]
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]
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]
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]
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]
M. H. L. Pryce and J. C. Ward, Angular correlation effects with annihilation radiation, Nature 160, 435 (1947), doi:10.1038/160435a0
-
[14]
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]
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]
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]
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]
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]
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]
S. Fedida and A. Serafini, Tree-level entanglement in quantum electrodynamics, Phys. Rev. D 107, 116007 (2023), doi:10.1103/PhysRevD.107.116007
-
[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]
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]
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]
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]
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]
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]
S. Weinberg, The quantum theory of fields, volume I , F oundations , C ambridge U niversity P ress (1995)
work page 1995
-
[28]
M. E. Peskin and D. V. Schroeder, An introduction to quantum field theory, CRC Press, Taylor & Francis Group (1995)
work page 1995
-
[29]
M. D. Schwartz, Quantum field theory and the standard model, Cambridge University Press (2013)
work page 2013
-
[30]
Sakurai, Modern quantum mechanics, Cambridge U niversity P ress (1985)
J. Sakurai, Modern quantum mechanics, Cambridge U niversity P ress (1985)
work page 1985
-
[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]
Chandrasekhar, Radiative Transfer, Dover Publications, New York (1960)
S. Chandrasekhar, Radiative Transfer, Dover Publications, New York (1960)
work page 1960
-
[33]
J. D. Jackson, Classical Electrodynamics, John Wiley & Sons (1998)
work page 1998
-
[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]
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]
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]
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]
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]
M. Brett and C. Gohlke, Transforms3d https://matthew-brett.github.io/transforms3d/index.html
-
[40]
QED tool , https://github.com/jsmeets2k/qedtool
-
[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\
work page 1931
-
[42]
It was twenty years ago today ...
P. Ginsparg, It was twenty years ago today... , http://arxiv.org/abs/1108.2700
work page internal anchor Pith review Pith/arXiv arXiv
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.