https://doi.org/10.1140/epjc/s10052-026-15323-w
Regular Article - Computing, Software and Data Science
opbasis: a Python package to derive minimal operator bases
1
Theoretical Physics Department, CERN, 1211, Geneva 23, Switzerland
2
Instituto de Física Teórica, UAM-CSIC, Universidad Autónoma de Madrid, C/ Nicolás Cabrera 13-15, Cantoblanco, 28049, Madrid, Spain
3
Departamento de Física Teórica, Universidad Autónoma de Madrid, Cantoblanco, 28049, Madrid, Spain
a
This email address is being protected from spambots. You need JavaScript enabled to view it.
Received:
4
November
2025
Accepted:
12
January
2026
Published online:
28
April
2026
Abstract
Finding a complete and yet minimal on-shell basis of operators of a given mass-dimension that are compatible with a specific set of transformation properties is the first step in any Effective Field Theory description. This step is the main bottleneck for systematic studies of leading logarithmic corrections to integer-power lattice artifacts in Symanzik Effective Field Theory targeting various local fields and lattice actions. The focus on discrete symmetry transformations in lattice field theory, especially reduced hypercubic spacetime symmetry with Euclidean signature, complicates the use of standard continuum field theory tools. Here, a new Python package is being presented that targets the typical lattice field-theorist’s use cases. While the main target lies on continuum EFTs describing 4D non-Abelian lattice gauge theories, the applicability can be extended beyond Effective Field Theories. New discrete symmetries, twisted masses, or the introduction of boosts are just a few examples of possible extensions that can be easily implemented by the user. This should allow for a wider range of theories and applications beyond the initial focus of this package. The general functionality of the package is explained along the lines of three examples: The
operator basis of the axial-vector in Wilson QCD, operator bases compatible with the symmetries of unrooted Staggered quarks as well as a pedestrian derivation of a
operator with pseudo-scalar quantum numbers. Each example makes use of an increasing range of features and requires user-defined extensions show-casing the versatility of the package.
Supplementary Information The online version contains supplementary material available at https://doi.org/10.1140/epjc/s10052-026-15323-w.
© The Author(s) 2026
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
Funded by SCOAP3.

