-sur-Yvette, France'
- 'KU Leuven, Instituut voor Kern- en Stralingsfysica, 3001 Leuven, Belgium'
author:
- 'P. Arthuis'
- 'A. Tichai'
- 'J. Ripoche'
- 'T. Duguet'
bibliography:
- 'Bibliographie.bib'
title: |
    `ADG`: Automated generation and evaluation of many-body diagrams\
    II. Particle-number projected Bogoliubov many-body perturbation theory
---

many-body theory,[*ab initio*]{},perturbation theory,diagrammatic expansion 21.60.De

[**NEW VERSION PROGRAM SUMMARY**]{}

[*Program Title:*]{} `ADG`\
[*Licensing provisions:*]{} GPLv3\
[*Programming language:*]{} Python3\
[*Supplementary material:*]{} Yes.\
[*Journal reference of previous version:*]{} P. Arthuis, T. Duguet, A. Tichai, R.-D. Lasseri and J.-P. Ebran, “ADG: Automated generation and evaluation of many-body diagrams I. Bogoliubov many-body perturbation theory”, Computer Physics Communications 240 (2019), pp. 202-227.\
[*Does the new version supersede the previous version?:*]{} Yes.\
[*Reasons for the new version:*]{} Incorporation of a new formalism into the program.\
[*Summary of revisions:*]{} Addition of off-diagonal BMBPT to the formalisms for which diagrams can be generated, fix of a wrong symmetry factor, move of the codebase from Python2 to Python3 while maintaining support for Python2, various optimizations to reduce the time and memory necessary to the program.\
[*Nature of problem:*]{} As formal and numerical developments in many-body-perturbation-theory-based [*ab initio*]{} methods make higher orders reachable, manually producing and evaluating all the diagrams becomes rapidly untractable as both their number and complexity grow quickly, making it prone to mistakes and oversights.\
[*Solution method:*]{} Diagonal BMBPT diagrams are encoded as square matrices known as oriented adjacency matrices in graph theory, and then turned into graph objects using the *NetworkX* package. Off-diagonal BMBPT diagrams can
-sur - Yvette, France' 
 -' KU Leuven, Instituut voor Kern- en Stralingsfysica, 3001 Leuven, Belgium' 
 author: 
 -' P.   Arthuis' 
 -' A.   Tichai' 
 -' J.   Ripoche' 
 -' T.   Duguet' 
 bibliography: 
 -' Bibliographie.bib' 
 title: | 
     'ADG `: Automated generation and evaluation of many - body diagrams\ 
     II. atom - numeral projected Bogoliubov many - body disturbance hypothesis 
 --- 

 many - body theory,[*ab initio*]{},perturbation theory, diagrammatic expansion 21.60.De 

 [ * * NEW VERSION plan SUMMARY * * ] { } 

 [ * Program Title :* ] { } 'ADG`\ 
 [ * Licensing provisions :* ] { } GPLv3\ 
 [ * Programming language :* ] { } Python3\ 
 [ * auxiliary fabric :* ] { } Yes.\ 
 [ * Journal reference of previous interpretation :* ] { } P. Arthuis, T. Duguet, A. Tichai, R.-D. Lasseri and J.-P. Ebran, “ ADG: Automated generation and evaluation of many - soundbox diagrams I. Bogoliubov many - body perturbation theory ”, Computer Physics Communications 240 (2019), pp. 202 - 227.\ 
 [ * Does the new adaptation supersede the previous version? :* ] { } Yes.\ 
 [ * Reasons for the modern version :* ] { } Incorporation of a new formalism into the program.\ 
 [ * Summary of revisions :* ] { } Addition of away - diagonal BMBPT to the formalism for which diagrams can be generated, fix of a improper symmetry factor, move of the codebase from Python2 to Python3 while maintaining support for Python2, diverse optimizations to reduce the time and memory necessary to the program.\ 
 [ * Nature of problem :* ] { } As formal and numerical developments in many - body - perturbation - theory - establish [ * ab initio * ] { } methods make high orders reachable, manually producing and evaluating all the diagram becomes quickly untractable as both their number and complexity grow quickly, lay down it prone to mistakes and oversights.\ 
 [ * Solution method :* ] { } Diagonal BMBPT diagrams are encoded as square matrices known as oriented adjacency matrices in graph theory, and then turned into graph aim practice the * NetworkX * package. Off - diagonal BMBPT diagrams can
-sur-Jvette, France'
- 'KU Leuven, Lnstituut voor Kgrb- en Svralingafysica, 3001 Leuven, Belgium'
author:
- 'P. Arthums'
- 'A. Richau'
- 'J. Ripoche'
- 'T. Duguet'
biblkography:
- 'Hibliogrqphit.bib'
title: |
    `ADG`: Automatcb gensvatiou end evaluation pf many-bodf diagrams\
    HI. Pcrticle-number projected Bogoliubov mwny-body pfrturbation thgory
---

msgy-bosj uheory,[*ab initio*]{},perturbation theorg,diagrakmatic expansoon 21.60.De

[**NEW VERSION PROGRAM DUMMWRY**]{}

[*Program Title:*]{} `AFG`\
[*Licensing produsions:*]{} GPLv3\
[*Pfogramming language:*]{} Pyjhon3\
[*Supplementary material:*]{} Yes.\
[*Jojrnal reference od pggvious versiin:*]{} P. Wrthuis, T. Dunlet, A. Thchai, R.-C. Lasseri and M.-P. Ebcan, “QDG: Automated generatmon and evaluation os many-bodf biagrams I. Bogoliubov mqny-bogy partufvatkon tieody”, Comoutxr Physics Dommunicatiins 240 (2019), pp. 202-227.\
[*Does the ntw dvtsion superssde thq [revious version?:*]{} Yes.\
[*Reasons for the new vedsion:*]{} Incorporation of q new formalism into jhe prograi.\
[*Summary of revisions:*]{} Addition of off-diagonal BMB[T to ghe fjfnapisms for which diagrams can be generated, fix kf a wrong symmetrn factor, move of tne cpqebase from Pithon2 to Pgthon3 while maintalning sopport for Pythjn2, vsrious optimizations to redyce the time qnd memory necessaxy to the prugrak.\
[*Natute of problem:*]{} As formal and numerical fevelopmehgs in many-body-peftugbathon-theory-based [*ab initio*]{} mqthods maje hngher oraers reachwble, manuaply pvmducing and evaluahing cll tve diagramd becomes rapidly untractable as both their nombar dnd compjexitn grow quickly, iaking it prong to mistckes avd oversiggts.\
[*Soluvion method:*]{} Qiagonal BMBPD diagrams arx encoded as wquaee matrkzes known as otiented ablacency mqtrices in graph tmeory, znd then turned inuo graph objects uskng tje *NqdworkX* packace. Owf-dksgonau BMBPT dianraos csn
-sur-Yvette, France' - 'KU Leuven, Instituut voor Stralingsfysica, Leuven, Belgium' - 'P. Arthuis' Ripoche' 'T. Duguet' bibliography: 'Bibliographie.bib' title: | Automated generation and evaluation of many-body II. Particle-number projected Bogoliubov many-body perturbation theory --- many-body theory,[*ab initio*]{},perturbation theory,diagrammatic expansion [**NEW VERSION PROGRAM SUMMARY**]{} [*Program Title:*]{} `ADG`\ [*Licensing provisions:*]{} GPLv3\ [*Programming language:*]{} Python3\ material:*]{} [*Journal of version:*]{} P. Arthuis, T. Duguet, A. Tichai, R.-D. Lasseri and J.-P. Ebran, “ADG: Automated generation and of many-body diagrams I. Bogoliubov many-body perturbation theory”, Physics Communications 240 (2019), 202-227.\ [*Does the new version the version?:*]{} Yes.\ for new Incorporation of a formalism into the program.\ [*Summary of revisions:*]{} Addition of off-diagonal BMBPT to the formalisms for which diagrams be generated, a wrong factor, of codebase from Python2 while maintaining support for Python2, various the time and memory necessary to the program.\ of problem:*]{} formal and numerical developments in many-body-perturbation-theory-based initio*]{} methods make higher orders reachable, manually producing evaluating all the diagrams becomes rapidly untractable as both their number and complexity grow quickly, prone to mistakes and [*Solution method:*]{} Diagonal diagrams encoded square known as adjacency matrices in graph theory, and then turned into graph objects the *NetworkX* package. Off-diagonal BMBPT diagrams can
-sur-Yvette, France'
- 'KU Leuven, InStituut vooR Kern- En STraLiNgsfYsicA, 3001 Leuven, Belgium'
AUthoR:
- 'P. Arthuis'
- 'A. Tichai'
- 'J. RipocHe'
- 'T. DuGuET'
bibLIoGraphY:
- 'BiblioGRaPHIe.bIb'
TiTle: |
    `aDg`: auTomatEd gEneratiOn and evaluAtiOn Of many-body diAGrAms\
    II. PartiCle-Number projecTed bogoliUbOv mANy-bodY peRturbAtion tHEory
---

maNy-body theOrY,[*Ab initIO*]{},perturBATiOn thEory,diagrammatic eXPaNSion 21.60.De

[**NEW VERSIoN PROGrAm sUmmaRY**]{}

[*proGram Title:*]{} `AdG`\
[*licenSIng provISiONS:*]{} gPLV3\
[*programming laNguage:*]{} PythoN3\
[*supPlemenTaRy mATerial:*]{} yes.\
[*JoUrNAl rEference of pReviOus versioN:*]{} P. ArthUIs, T. DuguET, A. TichaI, R.-D. LasSerI anD J.-P. EBRaN, “AdG: AUtOMatED gEneRAtiOn and evaLuAtIon of Many-BODY DiagRamS I. BoGoliuBov many-body peRtuRbatIOn tHeory”, compuTer PHySics COmmuniCatioNs 240 (2019), Pp. 202-227.\
[*Does the new verSion Supersede The PrEviOuS versIOn?:*]{} Yes.\
[*REasOns For the nEw versiON:*]{} InCoRPORaTion of a new formalisM iNTO tHe prograM.\
[*SummaRY oF rEVisions:*]{} ADdItiOn of OFF-diagOnal bmBpT to the fOrmaliSMs FoR which dIaGrams cAn Be gEneRated, FIx of A wrong Symmetry FactoR, Move of the codebASe from Python2 tO pyTHOn3 WHile MaiNtaining supPort FOr PyThon2, VArIouS OptimIzatiOnS To REduce the time and memoRy NecessAry to The program.\
[*NatUre of problEM:*]{} aS formal aNd nuMErICal developmentS in maNy-body-pertURbation-tHeory-Based [*ab iNitio*]{} methODS make higHer OrdErs ReaCHAbLe, manually proDUCing AnD evaluaTinG all the DiaGraMs bEcoMeS rapidly uNtractabLe As BoTh TheIr numBEr and comPlExiTy GroW quicKLy, makiNg it pRone To MiSTakEs and ovERsIGHts.\
[*SOlUtIon mEthOd:*]{} diagoNal BmbPT DiagramS are encodEd aS SquaRe MaTrices kNown as orienteD aDjacency maTrIceS in graPH Theory, anD then turned into graph objECts usinG thE *NetwOrkX* Package. OfF-diAgonal bMBpt diagrAms can
-sur-Yvette, France'
- 'KU  Leuven, I nstit uut  vo or  Ker n- e n Stralingsfys i ca,3001 Leuven, Belgium'autho r: - 'P .  A rthui s'
- 'A .  T i c hai '-'J.  R i po che'- ' T. Dugu et'
biblio gra ph y:
- 'Biblio g ra phie.bib'tit le: |
    `A DG` : Auto ma ted gener ati on an d eval u ationof many-b od y  diagr a ms\
  I I.  Par ticle-number proj e ct e d Bogoliubov m any-bo dy pe r t urb ati on theory-- -

ma n y-bodyt he o r y ,[* a b initio*]{}, perturbatio n  th eory,d ia gra m maticexpan si o n 2 1.60.De

[* *NEW  VERSIONPROGRA M  SUMMAR Y **]{}
[*Prog ram  Ti tle: * ]{ }`AD G` \ 
[* L ic ens i ngprovisio ns :* ]{} G PLv3 \ [ * Prog ram ming  lang uage:*]{} Pyt hon 3\
[ * Sup pleme ntary  mat er ial:* ]{} Ye s.\
[ *J ournal referenc e of  previous  ve rs ion :* ]{} P .  Arthu is,  T.  Duguet , A. Ti c hai ,R . - D.  Lasseri and J.-P.  E b r an , “ADG:Automa t ed  g e neration  a ndeval u a tionof m a ny -body di agrams I.  B ogoliub ov  many- bo dyper turba t iontheory ”, Compu ter P h ysics Communic a tions 240 (20 1 9) , pp .  202 -22 7.\
[*Doesthen ew v ersi o nsup e rsede  thepr e vi o us version?:*]{} Ye s. \
[*Re asons  for the newversion:*] { } Incorpor atio n  o f  a new formali sm in to the pro g ram.\
[* Summa ry of re visions:* ] { } Additi onofoff -di a g on al BMBPT to t h e  for ma lisms f orwhich d iag ram s c anbe  generate d, fix o fawr on g s ymmet r y factor ,mov eofthe c o debase  from  Pyt ho n2 toPython3 wh i l e ma in ta inin g s up portforP yth on2, va rious opt imi z atio ns  t o reduc e the time an dmemory nec es sar y to t h e  program .\
[*Nature of problem: * ]{} Asfor mal a nd n umericaldev elopme nts in man y-body -pert ur bat i o n-the o r y- bas ed  [*ab init i o *]{ } met ho ds m ake hig her orders reachab l e,manually prod uci ng a n d  e val u at i ngal l  th e diagrams become s rapidlyun t ra ctable asb oth  t heir nu mber an d com p lexitygrow quic kly, maki ng  itp r one  to mistak es and o versights . \
[*S o lu tionmet hod:*] {}  Di agona l BMBP T  di agram s areen codedas sq ua re matri ces known as oriented a djacen cy ma tri ces in gr aph the ory, andthen  turned in togra ph ob jec t s usi ng t h e*Ne t workX * pa c kage. Off - di ago n a lBMBPT diagr a m s  ca n
-sur-Yvette, France'
-_'KU Leuven,_Instituut voor Kern- en_Stralingsfysica, 3001_Leuven,_Belgium'
author:
- 'P. Arthuis'
-_'A. Tichai'
-_'J. Ripoche'
- 'T. Duguet'
bibliography:
- 'Bibliographie.bib'
title:_|
  _ `ADG`: Automated generation_and evaluation of_many-body_diagrams\
    II. Particle-number projected Bogoliubov many-body perturbation theory
---

many-body theory,[*ab initio*]{},perturbation theory,diagrammatic_expansion_21.60.De

[**NEW VERSION_PROGRAM_SUMMARY**]{}

[*Program_Title:*]{} `ADG`\
[*Licensing provisions:*]{} GPLv3\
[*Programming language:*]{}_Python3\
[*Supplementary material:*]{} Yes.\
[*Journal reference of_previous version:*]{}_P. Arthuis, T. Duguet, A. Tichai, R.-D. Lasseri_and_J.-P. Ebran, “ADG:_Automated generation and evaluation of many-body diagrams I. Bogoliubov_many-body perturbation theory”, Computer Physics Communications_240 (2019), pp._202-227.\
[*Does_the_new version supersede the_previous version?:*]{} Yes.\
[*Reasons for the new_version:*]{} Incorporation of a new formalism_into the program.\
[*Summary of revisions:*]{} Addition of_off-diagonal BMBPT to the formalisms for_which diagrams can be generated,_fix of_a wrong symmetry factor, move_of the codebase_from Python2_to Python3 while_maintaining support for Python2, various optimizations_to reduce the_time and memory necessary to the_program.\
[*Nature_of problem:*]{} As_formal_and_numerical developments_in many-body-perturbation-theory-based [*ab_initio*]{}_methods make_higher_orders reachable, manually producing and evaluating_all_the diagrams becomes rapidly untractable as both_their number and complexity_grow_quickly, making it prone_to mistakes and oversights.\
[*Solution method:*]{}_Diagonal BMBPT diagrams are encoded as_square matrices_known as_oriented adjacency matrices in graph theory, and then turned into graph_objects using the *NetworkX* package. Off-diagonal_BMBPT diagrams can