GW-approximation

GW-approximation is a Python-based reference implementation of the analytic GW method (GW@HF) and other GW variants. While primarily an educational and reference tool, it provides clear, readable implementations of sophisticated features…

2. TDDFT & EXCITED-STATE 2.3 GW Methods VERIFIED
Back to Mind Map Official Website

Overview

GW-approximation is a Python-based reference implementation of the analytic GW method (GW@HF) and other GW variants. While primarily an educational and reference tool, it provides clear, readable implementations of sophisticated features like Resolution of Identity (RI), contour deformation, and RPA screening, serving as an excellent resource for understanding and developing GW methods.

Reference Papers

Reference papers are not yet linked for this code.

Full Documentation

Official Resources

  • Homepage: https://github.com/aakunitsa/GW-approximation
  • Documentation: https://github.com/aakunitsa/GW-approximation#readme
  • Source Repository: https://github.com/aakunitsa/GW-approximation
  • License: Open Source (MIT)

Overview

GW-approximation is a Python-based reference implementation of the analytic GW method (GW@HF) and other GW variants. While primarily an educational and reference tool, it provides clear, readable implementations of sophisticated features like Resolution of Identity (RI), contour deformation, and RPA screening, serving as an excellent resource for understanding and developing GW methods.

Scientific domain: Educational GW, method development, reference implementation
Target user community: Students, developers, and researchers studying GW theory and implementation

Theoretical Methods

  • Analytic GW@HF
  • Resolution of Identity (RI) approximation
  • Contour deformation
  • RPA screening (W)
  • Self-energy evaluation
  • Hartree-Fock reference
  • Dyson equation

Capabilities (CRITICAL)

  • Analytic G0W0 calculations
  • RI approximation for integrals
  • Contour deformation for frequency integration
  • Full-featured GW class structure
  • Transparent code structure
  • Educational examples
  • Reference data generation

Sources: Official GitHub repository

Key Strengths

Educational Value:

  • Clear Python implementation
  • Readable logic vs performant Fortran/C
  • Detailed theoretical explanations
  • Step-by-step methodology

Modern Features:

  • Implements advanced techniques (RI, Contour Deformation)
  • Not just a toy model
  • Correct physics implementation
  • Good for prototyping

Optimization:

  • Uses RI to reduce cost
  • Python/NumPy vectorized
  • Efficient for learning/testing

Inputs & Outputs

  • Input formats:

    • Python objects
    • Integrals/Orbitals
  • Output data types:

    • QP energies
    • Self-energy values
    • Intermediate matrices

Interfaces & Ecosystem

  • Python: Pure Python
  • Dependencies: NumPy, SciPy
  • Integration: Can interface with PySCF data

Performance Characteristics

  • Speed: Python speed (slower than production codes)
  • Accuracy: Reference quality
  • System size: Small systems (atoms, small molecules)
  • Focus: Clarity over raw speed

Computational Cost

  • Low: For intended small systems
  • Scaling: Standard cubic/quartic depending on algo
  • Training: Excellent for low-cost learning

Limitations & Known Constraints

  • Production Use: Not for large scale materials
  • Performance: Python limited
  • Scope: Reference implementation

Comparison with Other Codes

  • vs PyGW: GW-approximation is more educational/reference focused
  • vs momentGW: Less optimized, more pedagogical
  • Unique strength: Accessible, readable reference implementation of complex GW features

Application Areas

Method Development:

  • Testing new ideas
  • Verifying derivations
  • Prototyping algorithms

Education:

  • Teaching MBPT/GW
  • Graduate courses
  • Understanding implementation details

Community and Support

  • Open-source MIT license
  • GitHub repository
  • Single developer maintenance

Verification & Sources

Primary sources:

  1. Official GitHub: https://github.com/aakunitsa/GW-approximation

Confidence: VERIFIED

  • GitHub repository: ACCESSIBLE
  • Code quality: High (Reference)
  • Purpose: Clearly stated

Related Tools in 2.3 GW Methods