by: Nicole Rivera
Finds anomaly-free solutions to the U1 gauge group. Code implementation of https://doi.org/10.1103/PhysRevLett.123.151601
$ pip install -i https://test.pypi.org/simple/ U1-anomaly-free-sets
From python interface
>>> from U1-anomaly-free-sets import joint, find_all_sets
>>> joint(5)
array([ 21., -6., -22., 12., -5.]), [7], [9, 6], 54
Command line use
- Only one solution
$ U1-anomaly-free-sets 5
Input arguments: {'n': 5, 'ALL': False, 'N': None, 'zmax': None, 'imax': None, 'outfile_name': None}
(array([ 21., -6., -22., 12., -5.]), [7], [9, 6], 54)
- All possible solutions according to sample size. This last method exports a json file with all quiral sets and their l, k, gcd.
$ U1-anomaly-free-sets 5 -a --N=20 --zmax=30 --m_max=10 --outfile_name=ttk
Input arguments: {'n': 5, 'ALL': True, 'N': 20, 'zmax': 30, 'm_max': 10, 'outfile_name': 'ttk'}
Program finished in 0.009126128999923822 seconds
total free anomaly sets: 6
Links:
- Test pip page
- Flake8 Tool For Style Guide Enforcement
- Test python code
- GitHub actions