quant-met 0.0.25__tar.gz → 0.0.27__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. {quant_met-0.0.25 → quant_met-0.0.27}/.coveragerc +1 -0
  2. {quant_met-0.0.25 → quant_met-0.0.27}/.github/dependabot.yml +1 -0
  3. {quant_met-0.0.25 → quant_met-0.0.27}/.github/workflows/check_version.yml +1 -0
  4. quant_met-0.0.27/.github/workflows/codspeed.yml +38 -0
  5. {quant_met-0.0.25 → quant_met-0.0.27}/.github/workflows/integration_tests.yml +10 -12
  6. quant_met-0.0.27/.github/workflows/linting.yml +36 -0
  7. {quant_met-0.0.25 → quant_met-0.0.27}/.github/workflows/publish.yml +1 -0
  8. quant_met-0.0.27/.github/workflows/typing.yml +36 -0
  9. quant_met-0.0.27/.github/workflows/unit_tests.yml +56 -0
  10. {quant_met-0.0.25 → quant_met-0.0.27}/.gitignore +2 -0
  11. {quant_met-0.0.25 → quant_met-0.0.27}/.pre-commit-config.yaml +3 -6
  12. {quant_met-0.0.25 → quant_met-0.0.27}/.readthedocs.yaml +4 -1
  13. {quant_met-0.0.25 → quant_met-0.0.27}/CHANGELOG.rst +1 -1
  14. quant_met-0.0.27/Makefile +28 -0
  15. {quant_met-0.0.25 → quant_met-0.0.27}/PKG-INFO +5 -3
  16. {quant_met-0.0.25 → quant_met-0.0.27}/README.md +1 -0
  17. {quant_met-0.0.25 → quant_met-0.0.27}/changelog.d/scriv.ini +1 -0
  18. {quant_met-0.0.25 → quant_met-0.0.27}/check_version.sh +1 -0
  19. {quant_met-0.0.25 → quant_met-0.0.27}/docs/Makefile +1 -0
  20. {quant_met-0.0.25 → quant_met-0.0.27}/docs/make.bat +1 -0
  21. {quant_met-0.0.25 → quant_met-0.0.27}/docs/requirements.txt +2 -3
  22. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/_static/custom.css +1 -0
  23. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/_templates/autosummary/attribute.rst +1 -0
  24. quant_met-0.0.27/docs/source/_templates/autosummary/class.rst +19 -0
  25. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/_templates/autosummary/function.rst +1 -0
  26. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/_templates/autosummary/method.rst +1 -0
  27. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/_templates/autosummary/module.rst +1 -0
  28. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/_templates/autosummary/property.rst +1 -0
  29. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/_templates/autosummary/pydantic.rst +1 -0
  30. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/changelog.rst +1 -0
  31. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/conf.py +4 -4
  32. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/development.rst +1 -0
  33. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/example_input_T_C.yaml +1 -0
  34. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/example_input_T_C_one_band.yaml +1 -0
  35. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/example_input_dmft.yaml +1 -0
  36. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/example_input_scf.yaml +1 -0
  37. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/examples/band_structures.ipynb +12 -12
  38. quant_met-0.0.27/docs/source/extra/versions.json +22 -0
  39. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/index.rst +1 -0
  40. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/cli.rst +1 -0
  41. quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.rst +19 -0
  42. quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.rst +19 -0
  43. quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.rst +19 -0
  44. quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.rst +19 -0
  45. quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.rst +19 -0
  46. quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.rst +19 -0
  47. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.DressedGrapheneParameters.rst +1 -0
  48. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.GrapheneParameters.rst +1 -0
  49. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.HamiltonianParameters.rst +1 -0
  50. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.OneBandParameters.rst +1 -0
  51. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.ThreeBandParameters.rst +1 -0
  52. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.TwoBandParameters.rst +1 -0
  53. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.rst +1 -2
  54. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/quant_met.parameters.Control.rst +1 -2
  55. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/quant_met.parameters.KPoints.rst +1 -2
  56. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/quant_met.parameters.Parameters.rst +1 -2
  57. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.cli.cli.rst +0 -4
  58. quant_met-0.0.27/docs/source/reference/generated/quant_met.geometry.BaseLattice.rst +19 -0
  59. quant_met-0.0.27/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.rst +19 -0
  60. quant_met-0.0.27/docs/source/reference/generated/quant_met.geometry.SquareLattice.rst +19 -0
  61. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.geometry.generate_bz_path.rst +1 -2
  62. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.mean_field.hamiltonians.rst +1 -2
  63. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.mean_field.search_crit_temp.rst +1 -2
  64. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.mean_field.self_consistency_loop.rst +1 -2
  65. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.plotting.format_plot.rst +1 -2
  66. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.plotting.plot_bandstructure.rst +1 -2
  67. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.plotting.plot_superfluid_weight.rst +1 -2
  68. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.plotting.scatter_into_bz.rst +1 -2
  69. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.utils.generate_uniform_grid.rst +1 -2
  70. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/geometry.rst +1 -0
  71. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/index.rst +7 -6
  72. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/mean_field.rst +1 -0
  73. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/parameters.rst +1 -0
  74. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/plotting.rst +1 -0
  75. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/utils.rst +1 -0
  76. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/user_guide/first-scf.rst +1 -0
  77. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/user_guide/search_T_C.rst +1 -0
  78. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/user_guide.rst +1 -0
  79. quant_met-0.0.27/justfile +13 -0
  80. {quant_met-0.0.25 → quant_met-0.0.27}/pyproject.toml +40 -3
  81. quant_met-0.0.27/src/quant_met/__init__.py +10 -0
  82. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/cli/__init__.py +1 -0
  83. quant_met-0.0.27/src/quant_met/cli/_utils.py +32 -0
  84. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/cli/crit_temp.py +1 -0
  85. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/cli/main.py +1 -4
  86. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/cli/scf.py +1 -0
  87. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/geometry/__init__.py +1 -0
  88. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/geometry/base_lattice.py +1 -0
  89. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/geometry/bz_path.py +1 -0
  90. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/geometry/graphene.py +1 -0
  91. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/geometry/square.py +1 -0
  92. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/__init__.py +1 -2
  93. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/_utils.py +1 -0
  94. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/hamiltonians/__init__.py +1 -0
  95. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/hamiltonians/base_hamiltonian.py +3 -2
  96. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/hamiltonians/dressed_graphene.py +4 -7
  97. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/hamiltonians/graphene.py +1 -0
  98. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/hamiltonians/one_band_tight_binding.py +1 -0
  99. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/hamiltonians/three_band_tight_binding.py +1 -0
  100. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/hamiltonians/two_band_tight_binding.py +1 -0
  101. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/search_crit_temp.py +1 -0
  102. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/self_consistency.py +2 -1
  103. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/parameters/__init__.py +1 -0
  104. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/parameters/hamiltonians.py +1 -0
  105. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/parameters/main.py +1 -0
  106. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/plotting/__init__.py +1 -0
  107. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/plotting/plotting.py +1 -0
  108. {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/utils.py +1 -0
  109. {quant_met-0.0.25 → quant_met-0.0.27}/tests/__init__.py +1 -0
  110. quant_met-0.0.27/tests/baseline_images/test_plotting/nonint_bandstructure_dressed_graphene.png +0 -0
  111. quant_met-0.0.27/tests/baseline_images/test_plotting/nonint_bandstructure_graphene.png +0 -0
  112. quant_met-0.0.27/tests/baseline_images/test_plotting/nonint_bandstructure_one_band.png +0 -0
  113. quant_met-0.0.27/tests/baseline_images/test_plotting/scatter_into_bz.png +0 -0
  114. quant_met-0.0.27/tests/baseline_images/test_plotting/scatter_into_bz_with_data.png +0 -0
  115. quant_met-0.0.27/tests/baseline_images/test_plotting/sf_weight.png +0 -0
  116. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_benchmarks.py +1 -0
  117. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_cli.py +1 -0
  118. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_geometry.py +1 -0
  119. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/__init__.py +1 -0
  120. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_fixed_values.py +1 -0
  121. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_invalid_values.py +1 -0
  122. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_random_samples.py +1 -0
  123. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_bdg_hamiltonian_derivative_graphene.npz.license +1 -0
  124. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_current.npz.license +1 -0
  125. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_density_of_states.npz.license +1 -0
  126. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_free_energy.npz.license +1 -0
  127. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_graphene.npz.license +1 -0
  128. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_one_band.npz.license +1 -0
  129. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_hamiltonian_three_band.npz.license +1 -0
  130. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_hamiltonian_two_band.npz.license +1 -0
  131. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_spectral_gap.npz.license +1 -0
  132. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions.py +1 -0
  133. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_save.py +1 -0
  134. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_integration/__init__.py +1 -0
  135. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_integration/test_crit_temp.py +1 -0
  136. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_integration/test_scf.py +1 -0
  137. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_plotting.py +1 -0
  138. quant_met-0.0.27/tests/test_quantum_metric/test_quantum_metric_dressed_graphene.npz +0 -0
  139. quant_met-0.0.27/tests/test_quantum_metric/test_quantum_metric_graphene.npz +0 -0
  140. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_quantum_metric.py +4 -1
  141. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_self_consistency.py +1 -0
  142. quant_met-0.0.27/tests/test_superfluid_weight/test_superfluid_weight_dressed_graphene.npz +0 -0
  143. quant_met-0.0.27/tests/test_superfluid_weight/test_superfluid_weight_graphene.npz +0 -0
  144. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_superfluid_weight.py +7 -6
  145. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_utils.py +1 -0
  146. {quant_met-0.0.25 → quant_met-0.0.27}/uv.lock +302 -269
  147. {quant_met-0.0.25 → quant_met-0.0.27}/uv.lock.license +1 -0
  148. quant_met-0.0.25/.github/workflows/unit_tests.yml +0 -40
  149. quant_met-0.0.25/Makefile +0 -42
  150. quant_met-0.0.25/docs/source/_templates/autosummary/class.rst +0 -47
  151. quant_met-0.0.25/docs/source/examples/EG-X bands.pdf.license +0 -3
  152. quant_met-0.0.25/docs/source/examples/band_structures.ipynb.license +0 -3
  153. quant_met-0.0.25/docs/source/extra/versions.json +0 -12
  154. quant_met-0.0.25/docs/source/extra/versions.json.license +0 -3
  155. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.bdg_hamiltonian.rst +0 -17
  156. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.bdg_hamiltonian_derivative.rst +0 -17
  157. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.calculate_bandstructure.rst +0 -17
  158. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.calculate_density_of_states.rst +0 -17
  159. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.calculate_spectral_gap.rst +0 -17
  160. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.diagonalize_bdg.rst +0 -17
  161. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.diagonalize_nonint.rst +0 -17
  162. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.from_file.rst +0 -17
  163. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.gap_equation.rst +0 -17
  164. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.get_parameters_model.rst +0 -17
  165. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.hamiltonian.rst +0 -17
  166. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.hamiltonian_derivative.rst +0 -17
  167. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.rst +0 -38
  168. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.save.rst +0 -17
  169. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.setup_lattice.rst +0 -17
  170. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.bdg_hamiltonian.rst +0 -17
  171. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.bdg_hamiltonian_derivative.rst +0 -17
  172. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.calculate_bandstructure.rst +0 -17
  173. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.calculate_density_of_states.rst +0 -17
  174. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.calculate_spectral_gap.rst +0 -17
  175. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.diagonalize_bdg.rst +0 -17
  176. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.diagonalize_nonint.rst +0 -17
  177. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.from_file.rst +0 -17
  178. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.gap_equation.rst +0 -17
  179. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.get_parameters_model.rst +0 -17
  180. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.hamiltonian.rst +0 -17
  181. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.hamiltonian_derivative.rst +0 -17
  182. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.rst +0 -38
  183. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.save.rst +0 -17
  184. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.setup_lattice.rst +0 -17
  185. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.bdg_hamiltonian.rst +0 -17
  186. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.bdg_hamiltonian_derivative.rst +0 -17
  187. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.calculate_bandstructure.rst +0 -17
  188. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.calculate_density_of_states.rst +0 -17
  189. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.calculate_spectral_gap.rst +0 -17
  190. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.diagonalize_bdg.rst +0 -17
  191. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.diagonalize_nonint.rst +0 -17
  192. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.from_file.rst +0 -17
  193. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.gap_equation.rst +0 -17
  194. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.get_parameters_model.rst +0 -17
  195. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.hamiltonian.rst +0 -17
  196. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.hamiltonian_derivative.rst +0 -17
  197. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.rst +0 -38
  198. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.save.rst +0 -17
  199. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.setup_lattice.rst +0 -17
  200. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.bdg_hamiltonian.rst +0 -17
  201. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.bdg_hamiltonian_derivative.rst +0 -17
  202. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.calculate_bandstructure.rst +0 -17
  203. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.calculate_density_of_states.rst +0 -17
  204. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.calculate_spectral_gap.rst +0 -17
  205. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.diagonalize_bdg.rst +0 -17
  206. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.diagonalize_nonint.rst +0 -17
  207. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.from_file.rst +0 -17
  208. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.gap_equation.rst +0 -17
  209. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.get_parameters_model.rst +0 -17
  210. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.hamiltonian.rst +0 -17
  211. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.hamiltonian_derivative.rst +0 -17
  212. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.rst +0 -38
  213. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.save.rst +0 -17
  214. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.setup_lattice.rst +0 -17
  215. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.bdg_hamiltonian.rst +0 -17
  216. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.bdg_hamiltonian_derivative.rst +0 -17
  217. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.calculate_bandstructure.rst +0 -17
  218. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.calculate_density_of_states.rst +0 -17
  219. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.calculate_spectral_gap.rst +0 -17
  220. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.diagonalize_bdg.rst +0 -17
  221. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.diagonalize_nonint.rst +0 -17
  222. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.from_file.rst +0 -17
  223. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.gap_equation.rst +0 -17
  224. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.get_parameters_model.rst +0 -17
  225. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.hamiltonian.rst +0 -17
  226. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.hamiltonian_derivative.rst +0 -17
  227. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.rst +0 -38
  228. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.save.rst +0 -17
  229. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.setup_lattice.rst +0 -17
  230. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.bdg_hamiltonian.rst +0 -17
  231. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.bdg_hamiltonian_derivative.rst +0 -17
  232. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.calculate_bandstructure.rst +0 -17
  233. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.calculate_density_of_states.rst +0 -17
  234. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.calculate_spectral_gap.rst +0 -17
  235. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.diagonalize_bdg.rst +0 -17
  236. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.diagonalize_nonint.rst +0 -17
  237. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.from_file.rst +0 -17
  238. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.gap_equation.rst +0 -17
  239. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.get_parameters_model.rst +0 -17
  240. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.hamiltonian.rst +0 -17
  241. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.hamiltonian_derivative.rst +0 -17
  242. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.rst +0 -38
  243. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.save.rst +0 -17
  244. quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.setup_lattice.rst +0 -17
  245. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.BaseLattice.bz_corners.rst +0 -17
  246. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.BaseLattice.generate_bz_grid.rst +0 -17
  247. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.BaseLattice.generate_high_symmetry_path.rst +0 -17
  248. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.BaseLattice.high_symmetry_points.rst +0 -17
  249. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.BaseLattice.lattice_constant.rst +0 -17
  250. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.BaseLattice.reciprocal_basis.rst +0 -17
  251. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.BaseLattice.rst +0 -41
  252. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.bz_corners.rst +0 -17
  253. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.generate_bz_grid.rst +0 -17
  254. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.generate_high_symmetry_path.rst +0 -17
  255. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.high_symmetry_points.rst +0 -17
  256. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.lattice_constant.rst +0 -17
  257. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.reciprocal_basis.rst +0 -17
  258. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.rst +0 -41
  259. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.SquareLattice.bz_corners.rst +0 -17
  260. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.SquareLattice.generate_bz_grid.rst +0 -17
  261. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.SquareLattice.generate_high_symmetry_path.rst +0 -17
  262. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.SquareLattice.high_symmetry_points.rst +0 -17
  263. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.SquareLattice.lattice_constant.rst +0 -17
  264. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.SquareLattice.reciprocal_basis.rst +0 -17
  265. quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.SquareLattice.rst +0 -41
  266. quant_met-0.0.25/docs/source/reference/generated/quant_met.mean_field.quantum_metric.rst +0 -17
  267. quant_met-0.0.25/docs/source/reference/generated/quant_met.mean_field.superfluid_weight.rst +0 -17
  268. quant_met-0.0.25/environment.yml +0 -39
  269. quant_met-0.0.25/src/quant_met/__init__.py +0 -5
  270. quant_met-0.0.25/src/quant_met/cli/_utils.py +0 -66
  271. quant_met-0.0.25/src/quant_met/cli/dmft.py +0 -96
  272. quant_met-0.0.25/src/quant_met/dmft/__init__.py +0 -5
  273. quant_met-0.0.25/src/quant_met/dmft/dmft_loop.py +0 -178
  274. quant_met-0.0.25/src/quant_met/dmft/utils.py +0 -207
  275. quant_met-0.0.25/tests/baseline_images/test_plotting/nonint_bandstructure_dressed_graphene.png +0 -0
  276. quant_met-0.0.25/tests/baseline_images/test_plotting/nonint_bandstructure_dressed_graphene.png.license +0 -3
  277. quant_met-0.0.25/tests/baseline_images/test_plotting/nonint_bandstructure_graphene.png +0 -0
  278. quant_met-0.0.25/tests/baseline_images/test_plotting/nonint_bandstructure_graphene.png.license +0 -3
  279. quant_met-0.0.25/tests/baseline_images/test_plotting/nonint_bandstructure_one_band.png +0 -0
  280. quant_met-0.0.25/tests/baseline_images/test_plotting/nonint_bandstructure_one_band.png.license +0 -3
  281. quant_met-0.0.25/tests/baseline_images/test_plotting/scatter_into_bz.png +0 -0
  282. quant_met-0.0.25/tests/baseline_images/test_plotting/scatter_into_bz.png.license +0 -3
  283. quant_met-0.0.25/tests/baseline_images/test_plotting/scatter_into_bz_with_data.png +0 -0
  284. quant_met-0.0.25/tests/baseline_images/test_plotting/scatter_into_bz_with_data.png.license +0 -3
  285. quant_met-0.0.25/tests/baseline_images/test_plotting/sf_weight.png +0 -0
  286. quant_met-0.0.25/tests/baseline_images/test_plotting/sf_weight.png.license +0 -3
  287. quant_met-0.0.25/tests/test_quantum_metric/test_quantum_metric_bdg_dressed_graphene.npz.license +0 -3
  288. quant_met-0.0.25/tests/test_quantum_metric/test_quantum_metric_bdg_graphene.npz.license +0 -3
  289. quant_met-0.0.25/tests/test_quantum_metric/test_quantum_metric_dressed_graphene.npz +0 -0
  290. quant_met-0.0.25/tests/test_quantum_metric/test_quantum_metric_dressed_graphene.npz.license +0 -3
  291. quant_met-0.0.25/tests/test_quantum_metric/test_quantum_metric_graphene.npz +0 -0
  292. quant_met-0.0.25/tests/test_quantum_metric/test_quantum_metric_graphene.npz.license +0 -3
  293. quant_met-0.0.25/tests/test_superfluid_weight/test_superfluid_weight_dressed_graphene.npz +0 -0
  294. quant_met-0.0.25/tests/test_superfluid_weight/test_superfluid_weight_dressed_graphene.npz.license +0 -3
  295. quant_met-0.0.25/tests/test_superfluid_weight/test_superfluid_weight_graphene.npz +0 -0
  296. quant_met-0.0.25/tests/test_superfluid_weight/test_superfluid_weight_graphene.npz.license +0 -3
  297. quant_met-0.0.25/tox.ini +0 -28
  298. {quant_met-0.0.25 → quant_met-0.0.27}/LICENSE.txt +0 -0
  299. {quant_met-0.0.25 → quant_met-0.0.27}/LICENSES/MIT.txt +0 -0
  300. {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/examples/EG-X bands.pdf +0 -0
  301. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_bdg_hamiltonian_derivative_graphene.npz +0 -0
  302. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_current.npz +0 -0
  303. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_density_of_states.npz +0 -0
  304. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_free_energy.npz +0 -0
  305. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_graphene.npz +0 -0
  306. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_one_band.npz +0 -0
  307. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_hamiltonian_three_band.npz +0 -0
  308. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_hamiltonian_two_band.npz +0 -0
  309. {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_spectral_gap.npz +0 -0
@@ -1,4 +1,5 @@
1
1
  # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  #
3
4
  # SPDX-License-Identifier: MIT
4
5
 
@@ -1,4 +1,5 @@
1
1
  # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  #
3
4
  # SPDX-License-Identifier: MIT
4
5
 
@@ -1,4 +1,5 @@
1
1
  # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  #
3
4
  # SPDX-License-Identifier: MIT
4
5
 
@@ -0,0 +1,38 @@
1
+ # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
3
+ #
4
+ # SPDX-License-Identifier: MIT
5
+
6
+ name: Codspeed
7
+
8
+ on:
9
+ pull_request:
10
+ push:
11
+ branches:
12
+ - 'main'
13
+
14
+ permissions:
15
+ pull-requests: write
16
+
17
+ env:
18
+ NUMBA_DISABLE_JIT: 0
19
+
20
+ jobs:
21
+ test:
22
+ name: Codspeed
23
+ runs-on: ubuntu-latest
24
+ steps:
25
+ - uses: actions/checkout@v4
26
+ with:
27
+ fetch-depth: 0
28
+ - uses: actions/checkout@v4
29
+ - name: Install uv
30
+ uses: astral-sh/setup-uv@v5
31
+ - name: Install the project
32
+ run: uv sync --group=test
33
+ - uses: extractions/setup-just@v3
34
+ - name: Run benchmarks
35
+ uses: CodSpeedHQ/action@v3
36
+ with:
37
+ token: ${{ secrets.CODSPEED_TOKEN }}
38
+ run: just test --codspeed
@@ -1,4 +1,5 @@
1
1
  # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  #
3
4
  # SPDX-License-Identifier: MIT
4
5
 
@@ -14,26 +15,23 @@ on:
14
15
  permissions:
15
16
  pull-requests: write
16
17
 
18
+ env:
19
+ NUMBA_DISABLE_JIT: 1
20
+
17
21
  jobs:
18
22
  test:
19
23
  name: Integration tests
20
24
  if: ${{ contains(github.event.head_commit.message, 'needs-integration') || github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
21
25
  runs-on: ubuntu-latest
22
- defaults:
23
- run:
24
- shell: bash -el {0}
25
26
  steps:
26
27
  - uses: actions/checkout@v4
27
28
  with:
28
29
  fetch-depth: 0
29
30
  - uses: actions/checkout@v4
30
- - uses: conda-incubator/setup-miniconda@v3
31
- with:
32
- activate-environment: quant-met-dev
33
- environment-file: environment.yml
34
- python-version: 3.12
35
- auto-activate-base: false
36
- - run: git clone https://github.com/krivenko/edipack2triqs.git && cd edipack2triqs && pip install .
37
- - run: pip install .
31
+ - name: Install uv
32
+ uses: astral-sh/setup-uv@v5
33
+ - name: Install the project
34
+ run: uv sync --group=test
35
+ - uses: extractions/setup-just@v3
38
36
  - name: Run test suite
39
- run: uv tool run tox -e py312 -- --with-slow-integration
37
+ run: just test --with-slow-integration
@@ -0,0 +1,36 @@
1
+ # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
3
+ #
4
+ # SPDX-License-Identifier: MIT
5
+
6
+ name: Linting
7
+
8
+ on:
9
+ workflow_call:
10
+ pull_request:
11
+ push:
12
+ branches:
13
+ - 'main'
14
+
15
+ permissions:
16
+ pull-requests: write
17
+
18
+ jobs:
19
+ test:
20
+ name: Linting
21
+ runs-on: ubuntu-latest
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+ with:
25
+ fetch-depth: 0
26
+ - name: Set up Python 3.12
27
+ uses: actions/setup-python@v5
28
+ with:
29
+ python-version: "3.12"
30
+ - name: Install uv
31
+ uses: astral-sh/setup-uv@v5
32
+ - name: Install the project
33
+ run: uv sync --group=lint
34
+ - uses: extractions/setup-just@v3
35
+ - name: Run test suite
36
+ run: just lint
@@ -1,4 +1,5 @@
1
1
  # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  #
3
4
  # SPDX-License-Identifier: MIT
4
5
 
@@ -0,0 +1,36 @@
1
+ # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
3
+ #
4
+ # SPDX-License-Identifier: MIT
5
+
6
+ name: Type checking
7
+
8
+ on:
9
+ workflow_call:
10
+ pull_request:
11
+ push:
12
+ branches:
13
+ - 'main'
14
+
15
+ permissions:
16
+ pull-requests: write
17
+
18
+ jobs:
19
+ test:
20
+ name: Type checking
21
+ runs-on: ubuntu-latest
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+ with:
25
+ fetch-depth: 0
26
+ - name: Set up Python 3.12
27
+ uses: actions/setup-python@v5
28
+ with:
29
+ python-version: "3.12"
30
+ - name: Install uv
31
+ uses: astral-sh/setup-uv@v5
32
+ - name: Install the project
33
+ run: uv sync --group=type
34
+ - uses: extractions/setup-just@v3
35
+ - name: Run test suite
36
+ run: just type
@@ -0,0 +1,56 @@
1
+ # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
3
+ #
4
+ # SPDX-License-Identifier: MIT
5
+
6
+ name: Unit tests
7
+
8
+ on:
9
+ workflow_call:
10
+ pull_request:
11
+ push:
12
+ branches:
13
+ - 'main'
14
+
15
+ permissions:
16
+ pull-requests: write
17
+
18
+ env:
19
+ NUMBA_DISABLE_JIT: 1
20
+
21
+ jobs:
22
+ test:
23
+ name: Unit tests
24
+ runs-on: ubuntu-latest
25
+ strategy:
26
+ matrix:
27
+ python-version: [ "3.11", "3.12", "3.13" ]
28
+ steps:
29
+ - uses: actions/checkout@v4
30
+ with:
31
+ fetch-depth: 0
32
+ - name: Install uv
33
+ uses: astral-sh/setup-uv@v5
34
+ with:
35
+ python-version: ${{ matrix.python-version }}
36
+ enable-cache: true
37
+ - name: Install the project
38
+ run: uv sync --group=test
39
+ - uses: extractions/setup-just@v3
40
+ - name: Run test suite
41
+ run: just test --without-slow-integration
42
+ - name: Coveralls
43
+ uses: coverallsapp/github-action@v2
44
+ with:
45
+ parallel: true
46
+ flag-name: python-${{ matrix.python-version }}
47
+
48
+ finish:
49
+ needs: test
50
+ runs-on: ubuntu-latest
51
+ steps:
52
+ - name: Close parallel build
53
+ uses: coverallsapp/github-action@v2
54
+ with:
55
+ parallel-finished: true
56
+ carryforward: "python-3.10,python-3.11,python-3.12,python-3.13"
@@ -1,4 +1,5 @@
1
1
  # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  #
3
4
  # SPDX-License-Identifier: MIT
4
5
 
@@ -9,6 +10,7 @@ report.xml
9
10
  .tox/
10
11
  **/__pycache__/
11
12
  docs/build
13
+ .codspeed/
12
14
  .hypothesis/
13
15
  result_images/
14
16
  **/.DS_Store
@@ -1,19 +1,16 @@
1
1
  # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  #
3
4
  # SPDX-License-Identifier: MIT
4
5
 
5
6
  repos:
6
7
  - repo: https://github.com/pre-commit/pre-commit-hooks
7
- rev: v4.6.0
8
+ rev: v5.0.0
8
9
  hooks:
9
10
  - id: check-toml
10
11
  - id: check-yaml
11
12
  - id: end-of-file-fixer
12
13
  - id: trailing-whitespace
13
- - repo: https://github.com/fsfe/reuse-tool
14
- rev: v4.0.3
15
- hooks:
16
- - id: reuse
17
14
  - repo: https://github.com/astral-sh/ruff-pre-commit
18
15
  # Ruff version.
19
16
  rev: v0.5.0
@@ -26,7 +23,7 @@ repos:
26
23
  - id: ruff-format
27
24
  types_or: [ python, pyi, jupyter ]
28
25
  - repo: https://github.com/pre-commit/pre-commit-hooks
29
- rev: v4.6.0
26
+ rev: v5.0.0
30
27
  hooks:
31
28
  - id: no-commit-to-branch
32
29
  args: [ --branch, main ]
@@ -1,4 +1,5 @@
1
1
  # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  #
3
4
  # SPDX-License-Identifier: MIT
4
5
 
@@ -29,5 +30,7 @@ sphinx:
29
30
  # to build your documentation
30
31
  # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
31
32
  python:
32
- install:
33
+ install:
33
34
  - requirements: docs/requirements.txt
35
+ - method: pip
36
+ path: .
@@ -1,8 +1,8 @@
1
1
  .. SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ .. SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  ..
3
4
  .. SPDX-License-Identifier: MIT
4
5
 
5
-
6
6
  .. _changelog-0.0.25:
7
7
 
8
8
  0.0.25 — 2025-03-21
@@ -0,0 +1,28 @@
1
+ # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
3
+ #
4
+ # SPDX-License-Identifier: MIT
5
+
6
+ SHELL:=/bin/bash
7
+
8
+ # Variables to test the conda environment
9
+ ifeq (,$(shell which uv))
10
+ HAS_UV=False
11
+ else
12
+ HAS_UV=True
13
+ endif
14
+
15
+ .PHONY: help
16
+ help: # Show help for each of the Makefile recipes.
17
+ @grep -E '^[a-zA-Z0-9 -]+:.*#' Makefile | sort | while read -r l; do printf "\033[1;32m$$(echo $$l | cut -f 1 -d':')\033[00m:$$(echo $$l | cut -f 2- -d'#')\n"; done
18
+
19
+
20
+ environment: # Install the development environment.
21
+ ifeq (True,$(HAS_UV))
22
+ @echo ">>> Detected uv."
23
+ uv sync --all-groups
24
+ uv run pre-commit install
25
+ else
26
+ @echo ">>> Install uv first."
27
+ exit
28
+ endif
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quant-met
3
- Version: 0.0.25
3
+ Version: 0.0.27
4
4
  Summary: Calculate superconductivity in flat-band systems.
5
5
  Author-email: Tjark Sievers <tsievers@physnet.uni-hamburg.de>
6
6
  License-File: LICENSE.txt
@@ -8,11 +8,12 @@ Requires-Python: >=3.11
8
8
  Requires-Dist: click>=8.1.8
9
9
  Requires-Dist: h5py>=3.12.1
10
10
  Requires-Dist: matplotlib>=3.10.0
11
- Requires-Dist: numba>=0.60.0
12
- Requires-Dist: numpy<2.1
11
+ Requires-Dist: numba>=0.61.0
12
+ Requires-Dist: numpy>=2.1
13
13
  Requires-Dist: numpydantic>=1.6.6
14
14
  Requires-Dist: pandas>=2.2.3
15
15
  Requires-Dist: pydantic>=2.10.4
16
+ Requires-Dist: pythtb>=1.8.0
16
17
  Requires-Dist: pyyaml>=6.0.2
17
18
  Requires-Dist: scipy>=1.15.0
18
19
  Requires-Dist: tables>=3.10.2
@@ -20,6 +21,7 @@ Description-Content-Type: text/markdown
20
21
 
21
22
  <!--
22
23
  SPDX-FileCopyrightText: 2024 Tjark Sievers
24
+ SPDX-FileCopyrightText: 2025 Tjark Sievers
23
25
 
24
26
  SPDX-License-Identifier: MIT
25
27
  -->
@@ -1,5 +1,6 @@
1
1
  <!--
2
2
  SPDX-FileCopyrightText: 2024 Tjark Sievers
3
+ SPDX-FileCopyrightText: 2025 Tjark Sievers
3
4
 
4
5
  SPDX-License-Identifier: MIT
5
6
  -->
@@ -1,4 +1,5 @@
1
1
  ; SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ ; SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  ;
3
4
  ; SPDX-License-Identifier: MIT
4
5
 
@@ -1,6 +1,7 @@
1
1
  #!/bin/bash
2
2
 
3
3
  # SPDX-FileCopyrightText: 2024 Tjark Sievers
4
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
4
5
  #
5
6
  # SPDX-License-Identifier: MIT
6
7
 
@@ -1,4 +1,5 @@
1
1
  # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  #
3
4
  # SPDX-License-Identifier: MIT
4
5
 
@@ -1,4 +1,5 @@
1
1
  REM SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ REM SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  REM
3
4
  REM SPDX-License-Identifier: MIT
4
5
 
@@ -1,9 +1,8 @@
1
- # SPDX-FileCopyrightText: 2024 Tjark Sievers
1
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
4
 
5
- -e .
6
- sphinx>=6.1.3
5
+ sphinx>=8.2
7
6
  pydata-sphinx-theme>=0.15.4
8
7
  myst-parser>=3.0.1
9
8
  nbsphinx>=0.9.4
@@ -1,5 +1,6 @@
1
1
  /*
2
2
  * SPDX-FileCopyrightText: 2024 Tjark Sievers
3
+ * SPDX-FileCopyrightText: 2025 Tjark Sievers
3
4
  *
4
5
  * SPDX-License-Identifier: MIT
5
6
  */
@@ -1,4 +1,5 @@
1
1
  .. SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ .. SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  ..
3
4
  .. SPDX-License-Identifier: MIT
4
5
 
@@ -0,0 +1,19 @@
1
+ .. SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ .. SPDX-FileCopyrightText: 2025 Tjark Sievers
3
+ ..
4
+ .. SPDX-License-Identifier: MIT
5
+
6
+ .. raw:: html
7
+
8
+ <div class="prename">{{ module }}.</div>
9
+ <div class="empty"></div>
10
+
11
+ {{ name }}
12
+ {{ underline }}
13
+
14
+ .. currentmodule:: {{ module }}
15
+
16
+ .. autoclass:: {{ objname }}
17
+ :no-members:
18
+ :no-inherited-members:
19
+ :no-special-members:
@@ -1,4 +1,5 @@
1
1
  .. SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ .. SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  ..
3
4
  .. SPDX-License-Identifier: MIT
4
5
 
@@ -1,4 +1,5 @@
1
1
  .. SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ .. SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  ..
3
4
  .. SPDX-License-Identifier: MIT
4
5
 
@@ -1,4 +1,5 @@
1
1
  .. SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ .. SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  ..
3
4
  .. SPDX-License-Identifier: MIT
4
5
 
@@ -1,4 +1,5 @@
1
1
  .. SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ .. SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  ..
3
4
  .. SPDX-License-Identifier: MIT
4
5
 
@@ -1,4 +1,5 @@
1
1
  .. SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ .. SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  ..
3
4
  .. SPDX-License-Identifier: MIT
4
5
 
@@ -1,4 +1,5 @@
1
1
  .. SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ .. SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  ..
3
4
  .. SPDX-License-Identifier: MIT
4
5
 
@@ -1,4 +1,5 @@
1
1
  # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  #
3
4
  # SPDX-License-Identifier: MIT
4
5
 
@@ -13,9 +14,11 @@
13
14
 
14
15
  import importlib.metadata
15
16
  import os
17
+ import sys
18
+ sys.path.insert(0, os.path.abspath('../src/'))
16
19
 
17
20
  project = "quant-met"
18
- copyright = "2024, Tjark Sievers"
21
+ copyright = "2025, Tjark Sievers"
19
22
  author = "Tjark Sievers"
20
23
  language = "en"
21
24
 
@@ -65,9 +68,6 @@ if not version_match or version_match.isdigit() or version_match == "latest":
65
68
  elif version_match == "stable":
66
69
  version_match = f"{release}"
67
70
 
68
- print(version_match)
69
- print(json_url)
70
-
71
71
  html_theme_options = {
72
72
  "github_url": "https://github.com/Ruberhauptmann/quant-met",
73
73
  "logo": {
@@ -1,4 +1,5 @@
1
1
  .. SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ .. SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  ..
3
4
  .. SPDX-License-Identifier: MIT
4
5
 
@@ -1,4 +1,5 @@
1
1
  # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  #
3
4
  # SPDX-License-Identifier: MIT
4
5
 
@@ -1,4 +1,5 @@
1
1
  # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  #
3
4
  # SPDX-License-Identifier: MIT
4
5
 
@@ -1,4 +1,5 @@
1
1
  # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  #
3
4
  # SPDX-License-Identifier: MIT
4
5
 
@@ -1,4 +1,5 @@
1
1
  # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ # SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  #
3
4
  # SPDX-License-Identifier: MIT
4
5
 
@@ -7,23 +7,24 @@
7
7
  "source": "# Band structure calculations"
8
8
  },
9
9
  {
10
- "metadata": {},
11
10
  "cell_type": "code",
12
- "outputs": [],
13
11
  "execution_count": null,
12
+ "id": "b22b860fe454346",
13
+ "metadata": {},
14
+ "outputs": [],
14
15
  "source": [
15
16
  "import matplotlib as mpl\n",
16
17
  "import matplotlib.pyplot as plt\n",
17
18
  "import numpy as np\n",
18
19
  "from quant_met import geometry, mean_field, parameters, plotting"
19
- ],
20
- "id": "b22b860fe454346"
20
+ ]
21
21
  },
22
22
  {
23
- "metadata": {},
24
23
  "cell_type": "code",
25
- "outputs": [],
26
24
  "execution_count": null,
25
+ "id": "f85888e34d3c736f",
26
+ "metadata": {},
27
+ "outputs": [],
27
28
  "source": [
28
29
  "mpl.style.use(\"default\")\n",
29
30
  "\n",
@@ -34,14 +35,14 @@
34
35
  "band_path, band_path_plot, ticks, labels = graphene_lattice.generate_high_symmetry_path(\n",
35
36
  " number_of_points=n\n",
36
37
  ")"
37
- ],
38
- "id": "f85888e34d3c736f"
38
+ ]
39
39
  },
40
40
  {
41
- "metadata": {},
42
41
  "cell_type": "code",
43
- "outputs": [],
44
42
  "execution_count": null,
43
+ "id": "be9baaf277e035e0",
44
+ "metadata": {},
45
+ "outputs": [],
45
46
  "source": [
46
47
  "V_list = [0, 0.5, 1.4, 3]\n",
47
48
  "\n",
@@ -81,8 +82,7 @@
81
82
  " ax.tick_params(axis=\"x\", labelsize=20)\n",
82
83
  "\n",
83
84
  "fig.savefig(\"EG-X bands.pdf\", bbox_inches=\"tight\")"
84
- ],
85
- "id": "be9baaf277e035e0"
85
+ ]
86
86
  },
87
87
  {
88
88
  "cell_type": "code",
@@ -0,0 +1,22 @@
1
+ [
2
+ {
3
+ "version": "dev",
4
+ "url": "https://quant-met.tjarksievers.de/en/latest/"
5
+ },
6
+ {
7
+ "name": "0.0.27 (stable)",
8
+ "version": "0.0.27",
9
+ "url": "https://quant-met.tjarksievers.de/en/stable/",
10
+ "preferred": true
11
+ },
12
+ {
13
+ "name": "0.0.20",
14
+ "version": "0.0.20",
15
+ "url": "https://quant-met.tjarksievers.de/en/0.0.20/"
16
+ },
17
+ {
18
+ "name": "0.0.10",
19
+ "version": "0.0.10",
20
+ "url": "https://quant-met.tjarksievers.de/en/0.0.10/"
21
+ }
22
+ ]
@@ -1,4 +1,5 @@
1
1
  .. SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ .. SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  ..
3
4
  .. SPDX-License-Identifier: MIT
4
5
 
@@ -1,4 +1,5 @@
1
1
  .. SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ .. SPDX-FileCopyrightText: 2025 Tjark Sievers
2
3
  ..
3
4
  .. SPDX-License-Identifier: MIT
4
5