Skip to content

Commit

Permalink
improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
houpc committed Feb 13, 2024
1 parent 7444091 commit 2517e39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ The example code below demonstrates how to build the renormalized Feynman diagra
```julia
# Set the renormalization orders. The first element is the order of the Green's function counterterms, and the second element is the order of the interaction counterterms.
julia> renormalization_orders = [2, 3];
julia> perturbative_orders = [para.innerLoopNum, para.innerLoopNum]; # each corresponding to the Feynman diagram's perturbative order of graphs.

# Generate the Dict of Graph for the renormalized self-energy diagrams with the Green's function counterterms and the interaction counterterms.
julia> dict_sigma = taylorAD(sigmadf.diagram, [para.innerLoopNum, para.innerLoopNum], renormalization_orders);
julia> dict_sigma = taylorAD(sigmadf.diagram, perturbative_orders, renormalization_orders);
```
### Example: Compile Feynman diagrams to different programming languages
Expand Down

0 comments on commit 2517e39

Please sign in to comment.