gammaLoop generate amp
CLI reference Command
Generate an amplitude integrand for the supplied process specification
Synopsis
Usage: gammaLoop generate amp [OPTIONS] [TOKENS]...Positional arguments
tokens
#Quote-free spec.
Grammar (unquoted): INITIAL to FINAL [process_options] [generation_options] Also accepts: INITIAL > FINAL [ ... ]
Examples: e+ e- to d d~ g veto u d xs QED^2==2 QCD^2<=4 pert loops=1 fsloops=2 QCD=2 e+ e- > { z z, a a } [ {1} {{2}} QCD=2 QED=1 ] / u d | g ghG QED==2 QCD>=2 QCD<=4
Notes:
vetoandonlyare synonyms for/and|.- The
[ ... ]block holds perturbative spec:{n},{{n}}, and ordersQCD=nwith shorthandQCD≡1.
- Behavior
- accepts repeated values; 1 or more values
- Value names
TOKENS
Options
-a
#Append the generated process instead of replacing the current process selection
- Behavior
- sets true; no value
- Default
false
-c, --clear-existing-processes
#Clear pre-existing processes
- Behavior
- sets true; no value
- Default
false
-p, --process-name
#Optional human-readable process name
- Behavior
- sets one value; 1 value(s)
- Value names
PROCESS_NAME
-i, --integrand-name
#Name assigned to the generated integrand; defaults to the generated process name
- Behavior
- sets one value; 1 value(s)
- Value names
INTEGRAND_NAME
-o, --only-diagrams
#Stop after diagram generation without constructing an evaluable integrand
- Behavior
- sets true; no value
- Default
false
--filter-selfenergies
#Include or exclude self-energy topologies; omission uses the generation-mode default
- Behavior
- sets one value; 1 value(s)
- Value names
FILTER_SELFENERGIES- Values
true,false
--filter-snails
#Include or exclude snail topologies; omission uses the generation-mode default
- Behavior
- sets one value; 1 value(s)
- Value names
FILTER_SNAILS- Values
true,false
--filter-tadpoles
#Include or exclude tadpole topologies; omission uses the generation-mode default
- Behavior
- sets one value; 1 value(s)
- Value names
FILTER_TADPOLES- Values
true,false
--veto-vertex-interactions
#Exclude graphs containing any listed vertex-interaction name
- Behavior
- accepts repeated values; 0 or more values
- Value names
VETO_VERTEX_INTERACTIONS
--allowed-vertex-interactions
#Restrict generation to an allow-list of vertex interactions
- Behavior
- accepts repeated values; 0 or more values
- Value names
ALLOWED_VERTEX_INTERACTIONS
--filter-cross-section-tadpoles
#Filter tadpoles formed while sewing amplitudes into a cross-section graph
- Behavior
- sets one value; 1 value(s)
- Value names
FILTER_CROSS_SECTION_TADPOLES- Values
true,false
--veto-tadpoles-attached-to-massive-lines
#Veto tadpoles attached to massive propagators
- Behavior
- sets one value; 1 value(s)
- Value names
VETO_TADPOLES_ATTACHED_TO_MASSIVE_LINES- Values
true,false
--veto-tadpoles-attached-to-massless-lines
#Veto tadpoles attached to massless propagators
- Behavior
- sets one value; 1 value(s)
- Value names
VETO_TADPOLES_ATTACHED_TO_MASSLESS_LINES- Values
true,false
--veto-only-scaleless-tadpoles
#Veto only tadpoles that are scaleless
- Behavior
- sets one value; 1 value(s)
- Value names
VETO_ONLY_SCALELESS_TADPOLES- Values
true,false
--veto-snails-attached-to-massive-lines
#Veto snail insertions attached to massive propagators
- Behavior
- sets one value; 1 value(s)
- Value names
VETO_SNAILS_ATTACHED_TO_MASSIVE_LINES- Values
true,false
--veto-snails-attached-to-massless-lines
#Veto snail insertions attached to massless propagators
- Behavior
- sets one value; 1 value(s)
- Value names
VETO_SNAILS_ATTACHED_TO_MASSLESS_LINES- Values
true,false
--veto-only-scaleless-snails
#Veto only snail insertions that are scaleless
- Behavior
- sets one value; 1 value(s)
- Value names
VETO_ONLY_SCALELESS_SNAILS- Values
true,false
--veto-self-energy-of-massive-lines
#Veto self-energy insertions on massive propagators
- Behavior
- sets one value; 1 value(s)
- Value names
VETO_SELF_ENERGY_OF_MASSIVE_LINES- Values
true,false
--veto-self-energy-of-massless-lines
#Veto self-energy insertions on massless propagators
- Behavior
- sets one value; 1 value(s)
- Value names
VETO_SELF_ENERGY_OF_MASSLESS_LINES- Values
true,false
--veto-only-scaleless-self-energy
#Veto only self-energy insertions that are scaleless
- Behavior
- sets one value; 1 value(s)
- Value names
VETO_ONLY_SCALELESS_SELF_ENERGY- Values
true,false
-b, --max-n-bridges
#Maximum number of bridges allowed in a generated graph; negative values disable the bound
- Behavior
- sets one value; 1 value(s)
- Value names
MAX_N_BRIDGES
-f, --number-of-factorized-loop-subtopologies
#Inclusive minimum and maximum number of factorized loop subtopologies
- Behavior
- accepts repeated values; 2 value(s)
- Value names
NUMBER_OF_FACTORIZED_LOOP_SUBTOPOLOGIES
-L, --number-of-fermion-loops
#Number of closed fermion loops, excluding ghosts; negative disables
- Behavior
- accepts repeated values; 2 value(s)
- Value names
NUMBER_OF_FERMION_LOOPS
-B, --n-cut-blobs
#Inclusive minimum and maximum number of cut blobs on either side of a cross-section cut
- Behavior
- accepts repeated values; 2 value(s)
- Value names
N_CUT_BLOBS
-S, --n-cut-spectators
#Inclusive minimum and maximum number of spectators on each side of a cross-section cut.
A spectator is an initial-state leg crossed by the cut. A graph selected only through such a cut is stored as a selection-only diagram: it can be listed and exported, but no integrand can be generated from it.
- Behavior
- accepts repeated values; 2 value(s)
- Value names
N_CUT_SPECTATORS
--allow-symmetrization-of-external-fermions-in-amplitudes
#Permit permutations of external fermions and ghosts when identifying equivalent amplitudes
- Behavior
- sets one value; 1 value(s)
- Value names
ALLOW_SYMMETRIZATION_OF_EXTERNAL_FERMIONS_IN_AMPLITUDES- Values
true,false
--symmetrize-initial-states
#Identify graphs related by permutations of identical initial-state particles
- Behavior
- sets one value; 1 value(s)
- Value names
SYMMETRIZE_INITIAL_STATES- Values
true,false
--symmetrize-final-states
#Identify graphs related by permutations of identical final-state particles
- Behavior
- sets one value; 1 value(s)
- Value names
SYMMETRIZE_FINAL_STATES- Values
true,false
--symmetrize-left-right-states
#Identify graphs under left/right exchange; cross sections require CP symmetry.
Cross sections identify graphs under CP-based exchange of their two forward sides. For amplitudes, the option sets unspecified initial- and final-state symmetrization to true and rejects an explicit false. Identical bosons, and fermions and ghosts only with the external-fermion option, are then permuted within and across the two states, an outgoing leg counting as its incoming antiparticle. Where separate side symmetrization admits the same legs with the same sign convention, this crossing identification keeps the sum of combinatorial graph weights; it does not equate amplitudes at a fixed point.
- Behavior
- sets one value; 1 value(s)
- Value names
SYMMETRIZE_LEFT_RIGHT_STATES- Values
true,false
-G, --numerator-grouping
#Numerator-aware grouping choice
- Behavior
- sets one value; 1 value(s)
- Value names
NUMERATOR_AWARE_ISOMORPHISM_GROUPING- Values
no_grouping,group_identical_graphs_up_to_sign,group_identical_graphs_up_to_scalar_rescaling
--filter-zero-color
#Remove diagrams whose numerators vanish under color algebra before grouping
- Behavior
- sets true; no value
- Default
false
--numerical-samples-seed
#Deterministic random seed used for numerical numerator comparisons
- Behavior
- sets one value; 1 value(s)
- Value names
NUMERICAL_SAMPLES_SEED
--number-of-samples-for-numerator-comparisons
#Number of phase-space samples used to decide whether two numerators are equivalent (default 5). Scalar rescaling requires at least two: with one sample any two nonzero numerators look proportional. Sign and identical grouping accept one with a warning
- Behavior
- sets one value; 1 value(s)
- Value names
NUMBER_OF_SAMPLES_FOR_NUMERATOR_COMPARISONS
--consider-internal-masses-only-in-numerator-isomorphisms
#Distinguish mass parameters while ignoring other model-parameter labels during grouping
- Behavior
- sets one value; 1 value(s)
- Value names
CONSIDER_INTERNAL_MASSES_ONLY_IN_NUMERATOR_ISOMORPHISMS- Values
true,false
--fully-numerical-substitution-when-comparing-numerators
#Numerically substitute every parameter when comparing candidate numerator isomorphisms
- Behavior
- sets one value; 1 value(s)
- Value names
FULLY_NUMERICAL_SUBSTITUTION_WHEN_COMPARING_NUMERATORS- Values
true,false
--compare-canonized-numerator
#Compare canonicalized numerators in addition to graph topology when grouping. Pairs that this comparison does not match are still compared at the numerical samples
- Behavior
- sets one value; 1 value(s)
- Value names
COMPARE_CANONIZED_NUMERATOR- Values
true,false
--symmetric-left-right-polarizations
#Treat left- and right-side polarization factors symmetrically during numerator grouping
- Behavior
- sets one value; 1 value(s)
- Value names
SYMMETRIC_LEFT_RIGHT_POLARIZATIONS- Values
true,false
--loop-momentum-bases
#Graph processing toggles
Format: --loop-momentum-bases "GL_12=7,10 GL_77=4,2" --select-graphs "GL_12 GL_13" --veto-graphs "GL_11 GL_15"
- Behavior
- accepts repeated values; 0 or more values
- Value names
KEY=VALUE
--select-graphs
#Generate only graphs whose names appear in this allow-list
- Behavior
- accepts repeated values; 0 or more values
- Value names
SELECT_GRAPHS
--veto-graphs
#Exclude graphs whose names appear in this deny-list
- Behavior
- accepts repeated values; 0 or more values
- Value names
VETO_GRAPHS
-g, --graph-prefix
#Prefix assigned to generated graph names; defaults to GL
- Behavior
- sets one value; 1 value(s)
- Value names
GRAPH_PREFIX
--global-prefactor-projector
#Global prefactor projector (Symbolica atom string)
- Behavior
- sets one value; 1 value(s)
- Value names
ATOM
--global-prefactor-num
#Global prefactor numerator (Symbolica atom string)
- Behavior
- sets one value; 1 value(s)
- Value names
ATOM
--filter-self-loop
#Filter graph-theoretic self-loops explicitly; omission keeps them
- Behavior
- sets one value; 1 value(s)
- Value names
FILTER_SELF_LOOP- Values
true,false
--filter-zero-flow-edges
#Filter edges that carry zero momentum flow in the selected routing
- Behavior
- sets one value; 1 value(s)
- Value names
FILTER_ZERO_FLOW_EDGES- Values
true,false
-h, --help
#Print help (see a summary with '-h')
- Behavior
- shows help; no value
Inherited and global options
--keep-sources
#Keep generated C++ source files after external compilation
- Behavior
- sets true; no value
- Scope
- inherited global
- Default
false