Open shenvitor opened 1 week ago
Beautiful 🙌 Nice job!
Let's make this into a PR then: write a notebook that is essentially what you wrote in the issue description, but generate it from create_interaction_settings()
, so that the rulesets are automatically updated and it serves as an integration test at the same time.
Edit: Just realized this issue is better transferred to QRules
See source code from
qrules
hereqrules
: the conservation rules of strong interaction are a subset of EM, and the rules in EM interaction are a subset of weak interaction.conservation_rules
formalism_node_settings.conservation_rules
spin_magnitude_conservation
,helicity_conservation
,spin_conservation
,ls_spin_validity
,clebsch_gordan_helicity_to_canonical
,ls_spin_validity
,interaction_type_settings
weak_node_settings
em_node_settings
strong_node_settings
interaction_node_settings.conservation_rules.update
ChargeConservation(), ElectronLNConservation(), MuonLNConservation(), TauLNConservation(), BaryonNumberConservation(),identical_particle_symmetrization,
CharmConservation(),StrangenessConservation(), BottomnessConservation(), parity_conservation, c_parity_conservation,
isospin_conservation, g_parity_conservation,