Skip to content

Commit

Permalink
removed useless expr for qcd script
Browse files Browse the repository at this point in the history
  • Loading branch information
JonhasSC committed Nov 14, 2024
1 parent b05ea3a commit 5f7186c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/QCD-RE.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,10 @@ def nx_heisenberg_terms(g:nx.Graph) -> list:
def generate_heisenberg_graph(n_neutrinos: int, site_interaction:float=0) -> nx.Graph:
graph = nx.Graph()
momentum = {}
seen = {}
node_id = 0
for _ in range(n_neutrinos):
graph.add_node(node_id, weight=site_interaction)
momentum[node_id] = generate_spherical_momentum()
seen[node_id] = []
node_id += 1

for idx, node in enumerate(graph.nodes):
Expand Down

0 comments on commit 5f7186c

Please sign in to comment.