Skip to content

nicolerivera1/U1-anomaly-free-sets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

U1-anomaly-free-sets

Python package Upload Python Package GitHub contributors

by: Nicole Rivera

Finds anomaly-free solutions to the U1 gauge group. Code implementation of https://doi.org/10.1103/PhysRevLett.123.151601

Install

$ pip install -i https://test.pypi.org/simple/ U1-anomaly-free-sets

USAGE

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

  1. 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)
  1. 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:

About

Finds anomaly-free solutions to the U1 gauge group. Code implementation of https://doi.org/10.1103/PhysRevLett.123.151601

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages