quant-met 0.0.15__tar.gz → 0.0.17__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 (279) hide show
  1. quant_met-0.0.17/.coveragerc +18 -0
  2. quant_met-0.0.17/.github/dependabot.yml +12 -0
  3. quant_met-0.0.17/.github/workflows/check_version.yml +23 -0
  4. quant_met-0.0.17/.github/workflows/codspeed.yml +33 -0
  5. quant_met-0.0.17/.github/workflows/integration_tests.yml +39 -0
  6. quant_met-0.0.17/.github/workflows/publish.yml +28 -0
  7. quant_met-0.0.17/.github/workflows/unit_tests.yml +40 -0
  8. quant_met-0.0.17/.gitignore +14 -0
  9. quant_met-0.0.17/.pre-commit-config.yaml +32 -0
  10. quant_met-0.0.17/.readthedocs.yaml +33 -0
  11. quant_met-0.0.17/CHANGELOG.rst +275 -0
  12. quant_met-0.0.17/Makefile +49 -0
  13. {quant_met-0.0.15 → quant_met-0.0.17}/PKG-INFO +21 -23
  14. {quant_met-0.0.15 → quant_met-0.0.17}/README.md +6 -3
  15. quant_met-0.0.17/changelog.d/scriv.ini +6 -0
  16. quant_met-0.0.17/check_version.sh +24 -0
  17. quant_met-0.0.17/docs/Makefile +27 -0
  18. quant_met-0.0.17/docs/make.bat +39 -0
  19. quant_met-0.0.17/docs/requirements.txt +14 -0
  20. quant_met-0.0.17/docs/source/_static/custom.css +24 -0
  21. quant_met-0.0.17/docs/source/_templates/autosummary/attribute.rst +17 -0
  22. quant_met-0.0.17/docs/source/_templates/autosummary/class.rst +47 -0
  23. quant_met-0.0.17/docs/source/_templates/autosummary/function.rst +15 -0
  24. quant_met-0.0.17/docs/source/_templates/autosummary/method.rst +17 -0
  25. quant_met-0.0.17/docs/source/_templates/autosummary/module.rst +14 -0
  26. quant_met-0.0.17/docs/source/_templates/autosummary/property.rst +17 -0
  27. quant_met-0.0.17/docs/source/_templates/autosummary/pydantic.rst +20 -0
  28. quant_met-0.0.17/docs/source/changelog.rst +8 -0
  29. quant_met-0.0.17/docs/source/conf.py +101 -0
  30. quant_met-0.0.17/docs/source/development.rst +83 -0
  31. quant_met-0.0.17/docs/source/example_input_T_C.yaml +23 -0
  32. quant_met-0.0.17/docs/source/example_input_T_C_one_band.yaml +21 -0
  33. quant_met-0.0.17/docs/source/example_input_scf.yaml +24 -0
  34. quant_met-0.0.17/docs/source/examples/band_structures.ipynb +3998 -0
  35. quant_met-0.0.17/docs/source/examples/band_structures.ipynb.license +3 -0
  36. quant_met-0.0.17/docs/source/extra/versions.json +12 -0
  37. quant_met-0.0.17/docs/source/extra/versions.json.license +3 -0
  38. quant_met-0.0.17/docs/source/index.rst +54 -0
  39. quant_met-0.0.17/docs/source/reference/cli.rst +7 -0
  40. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.bdg_hamiltonian.rst +17 -0
  41. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.bdg_hamiltonian_derivative.rst +17 -0
  42. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.calculate_bandstructure.rst +17 -0
  43. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.calculate_density_of_states.rst +17 -0
  44. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.calculate_spectral_gap.rst +17 -0
  45. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.diagonalize_bdg.rst +17 -0
  46. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.diagonalize_nonint.rst +17 -0
  47. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.from_file.rst +17 -0
  48. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.gap_equation.rst +17 -0
  49. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.get_parameters_model.rst +17 -0
  50. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.hamiltonian.rst +17 -0
  51. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.hamiltonian_derivative.rst +17 -0
  52. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.rst +38 -0
  53. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.save.rst +17 -0
  54. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.setup_lattice.rst +17 -0
  55. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.bdg_hamiltonian.rst +17 -0
  56. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.bdg_hamiltonian_derivative.rst +17 -0
  57. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.calculate_bandstructure.rst +17 -0
  58. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.calculate_density_of_states.rst +17 -0
  59. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.calculate_spectral_gap.rst +17 -0
  60. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.diagonalize_bdg.rst +17 -0
  61. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.diagonalize_nonint.rst +17 -0
  62. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.from_file.rst +17 -0
  63. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.gap_equation.rst +17 -0
  64. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.get_parameters_model.rst +17 -0
  65. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.hamiltonian.rst +17 -0
  66. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.hamiltonian_derivative.rst +17 -0
  67. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.rst +38 -0
  68. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.save.rst +17 -0
  69. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.setup_lattice.rst +17 -0
  70. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.bdg_hamiltonian.rst +17 -0
  71. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.bdg_hamiltonian_derivative.rst +17 -0
  72. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.calculate_bandstructure.rst +17 -0
  73. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.calculate_density_of_states.rst +17 -0
  74. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.calculate_spectral_gap.rst +17 -0
  75. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.diagonalize_bdg.rst +17 -0
  76. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.diagonalize_nonint.rst +17 -0
  77. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.from_file.rst +17 -0
  78. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.gap_equation.rst +17 -0
  79. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.get_parameters_model.rst +17 -0
  80. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.hamiltonian.rst +17 -0
  81. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.hamiltonian_derivative.rst +17 -0
  82. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.rst +38 -0
  83. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.save.rst +17 -0
  84. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.setup_lattice.rst +17 -0
  85. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.bdg_hamiltonian.rst +17 -0
  86. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.bdg_hamiltonian_derivative.rst +17 -0
  87. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.calculate_bandstructure.rst +17 -0
  88. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.calculate_density_of_states.rst +17 -0
  89. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.calculate_spectral_gap.rst +17 -0
  90. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.diagonalize_bdg.rst +17 -0
  91. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.diagonalize_nonint.rst +17 -0
  92. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.from_file.rst +17 -0
  93. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.gap_equation.rst +17 -0
  94. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.get_parameters_model.rst +17 -0
  95. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.hamiltonian.rst +17 -0
  96. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.hamiltonian_derivative.rst +17 -0
  97. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.rst +38 -0
  98. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.save.rst +17 -0
  99. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.setup_lattice.rst +17 -0
  100. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.bdg_hamiltonian.rst +17 -0
  101. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.bdg_hamiltonian_derivative.rst +17 -0
  102. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.calculate_bandstructure.rst +17 -0
  103. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.calculate_density_of_states.rst +17 -0
  104. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.calculate_spectral_gap.rst +17 -0
  105. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.diagonalize_bdg.rst +17 -0
  106. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.diagonalize_nonint.rst +17 -0
  107. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.from_file.rst +17 -0
  108. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.gap_equation.rst +17 -0
  109. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.get_parameters_model.rst +17 -0
  110. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.hamiltonian.rst +17 -0
  111. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.hamiltonian_derivative.rst +17 -0
  112. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.rst +38 -0
  113. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.save.rst +17 -0
  114. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.setup_lattice.rst +17 -0
  115. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.bdg_hamiltonian.rst +17 -0
  116. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.bdg_hamiltonian_derivative.rst +17 -0
  117. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.calculate_bandstructure.rst +17 -0
  118. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.calculate_density_of_states.rst +17 -0
  119. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.calculate_spectral_gap.rst +17 -0
  120. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.diagonalize_bdg.rst +17 -0
  121. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.diagonalize_nonint.rst +17 -0
  122. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.from_file.rst +17 -0
  123. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.gap_equation.rst +17 -0
  124. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.get_parameters_model.rst +17 -0
  125. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.hamiltonian.rst +17 -0
  126. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.hamiltonian_derivative.rst +17 -0
  127. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.rst +38 -0
  128. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.save.rst +17 -0
  129. quant_met-0.0.17/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.setup_lattice.rst +17 -0
  130. quant_met-0.0.17/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.DressedGrapheneParameters.rst +20 -0
  131. quant_met-0.0.17/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.GrapheneParameters.rst +20 -0
  132. quant_met-0.0.17/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.HamiltonianParameters.rst +20 -0
  133. quant_met-0.0.17/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.OneBandParameters.rst +20 -0
  134. quant_met-0.0.17/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.ThreeBandParameters.rst +20 -0
  135. quant_met-0.0.17/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.TwoBandParameters.rst +20 -0
  136. quant_met-0.0.17/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.rst +16 -0
  137. quant_met-0.0.17/docs/source/reference/generated/parameters/quant_met.parameters.Control.rst +22 -0
  138. quant_met-0.0.17/docs/source/reference/generated/parameters/quant_met.parameters.KPoints.rst +22 -0
  139. quant_met-0.0.17/docs/source/reference/generated/parameters/quant_met.parameters.Parameters.rst +22 -0
  140. quant_met-0.0.17/docs/source/reference/generated/quant_met.cli.cli.rst +10 -0
  141. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.BaseLattice.bz_corners.rst +17 -0
  142. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.BaseLattice.generate_bz_grid.rst +17 -0
  143. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.BaseLattice.generate_high_symmetry_path.rst +17 -0
  144. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.BaseLattice.high_symmetry_points.rst +17 -0
  145. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.BaseLattice.lattice_constant.rst +17 -0
  146. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.BaseLattice.reciprocal_basis.rst +17 -0
  147. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.BaseLattice.rst +41 -0
  148. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.bz_corners.rst +17 -0
  149. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.generate_bz_grid.rst +17 -0
  150. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.generate_high_symmetry_path.rst +17 -0
  151. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.high_symmetry_points.rst +17 -0
  152. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.lattice_constant.rst +17 -0
  153. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.reciprocal_basis.rst +17 -0
  154. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.rst +41 -0
  155. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.SquareLattice.bz_corners.rst +17 -0
  156. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.SquareLattice.generate_bz_grid.rst +17 -0
  157. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.SquareLattice.generate_high_symmetry_path.rst +17 -0
  158. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.SquareLattice.high_symmetry_points.rst +17 -0
  159. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.SquareLattice.lattice_constant.rst +17 -0
  160. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.SquareLattice.reciprocal_basis.rst +17 -0
  161. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.SquareLattice.rst +41 -0
  162. quant_met-0.0.17/docs/source/reference/generated/quant_met.geometry.generate_bz_path.rst +17 -0
  163. quant_met-0.0.17/docs/source/reference/generated/quant_met.mean_field.hamiltonians.rst +16 -0
  164. quant_met-0.0.17/docs/source/reference/generated/quant_met.mean_field.quantum_metric.rst +17 -0
  165. quant_met-0.0.17/docs/source/reference/generated/quant_met.mean_field.search_crit_temp.rst +17 -0
  166. quant_met-0.0.17/docs/source/reference/generated/quant_met.mean_field.self_consistency_loop.rst +17 -0
  167. quant_met-0.0.17/docs/source/reference/generated/quant_met.mean_field.superfluid_weight.rst +17 -0
  168. quant_met-0.0.17/docs/source/reference/generated/quant_met.plotting.format_plot.rst +17 -0
  169. quant_met-0.0.17/docs/source/reference/generated/quant_met.plotting.plot_bandstructure.rst +17 -0
  170. quant_met-0.0.17/docs/source/reference/generated/quant_met.plotting.plot_superfluid_weight.rst +17 -0
  171. quant_met-0.0.17/docs/source/reference/generated/quant_met.plotting.scatter_into_bz.rst +17 -0
  172. quant_met-0.0.17/docs/source/reference/generated/quant_met.utils.generate_uniform_grid.rst +17 -0
  173. quant_met-0.0.17/docs/source/reference/geometry.rst +7 -0
  174. quant_met-0.0.17/docs/source/reference/index.rst +29 -0
  175. quant_met-0.0.17/docs/source/reference/mean_field.rst +7 -0
  176. quant_met-0.0.17/docs/source/reference/parameters.rst +7 -0
  177. quant_met-0.0.17/docs/source/reference/plotting.rst +7 -0
  178. quant_met-0.0.17/docs/source/reference/utils.rst +7 -0
  179. quant_met-0.0.17/docs/source/user_guide/first-scf.rst +6 -0
  180. quant_met-0.0.17/docs/source/user_guide/search_T_C.rst +6 -0
  181. quant_met-0.0.17/docs/source/user_guide.rst +19 -0
  182. quant_met-0.0.17/environment.yml +10 -0
  183. quant_met-0.0.17/pyproject.toml +92 -0
  184. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/geometry/__init__.py +1 -1
  185. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/geometry/base_lattice.py +6 -6
  186. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/geometry/bz_path.py +6 -6
  187. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/geometry/graphene.py +3 -3
  188. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/geometry/square.py +3 -3
  189. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/mean_field/hamiltonians/__init__.py +1 -1
  190. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/mean_field/hamiltonians/base_hamiltonian.py +180 -53
  191. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/mean_field/hamiltonians/dressed_graphene.py +6 -6
  192. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/mean_field/hamiltonians/graphene.py +6 -6
  193. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/mean_field/hamiltonians/one_band_tight_binding.py +6 -6
  194. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/mean_field/hamiltonians/three_band_tight_binding.py +6 -6
  195. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/mean_field/hamiltonians/two_band_tight_binding.py +6 -6
  196. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/mean_field/quantum_metric.py +3 -3
  197. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/mean_field/search_crit_temp.py +5 -6
  198. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/mean_field/self_consistency.py +13 -9
  199. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/mean_field/superfluid_weight.py +23 -20
  200. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/parameters/hamiltonians.py +8 -8
  201. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/plotting/plotting.py +9 -9
  202. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/utils.py +27 -5
  203. quant_met-0.0.17/tests/__init__.py +5 -0
  204. quant_met-0.0.17/tests/baseline_images/test_plotting/nonint_bandstructure_dressed_graphene.png +0 -0
  205. quant_met-0.0.17/tests/baseline_images/test_plotting/nonint_bandstructure_dressed_graphene.png.license +3 -0
  206. quant_met-0.0.17/tests/baseline_images/test_plotting/nonint_bandstructure_graphene.png +0 -0
  207. quant_met-0.0.17/tests/baseline_images/test_plotting/nonint_bandstructure_graphene.png.license +3 -0
  208. quant_met-0.0.17/tests/baseline_images/test_plotting/nonint_bandstructure_one_band.png +0 -0
  209. quant_met-0.0.17/tests/baseline_images/test_plotting/nonint_bandstructure_one_band.png.license +3 -0
  210. quant_met-0.0.17/tests/baseline_images/test_plotting/scatter_into_bz.png +0 -0
  211. quant_met-0.0.17/tests/baseline_images/test_plotting/scatter_into_bz.png.license +3 -0
  212. quant_met-0.0.17/tests/baseline_images/test_plotting/scatter_into_bz_with_data.png +0 -0
  213. quant_met-0.0.17/tests/baseline_images/test_plotting/scatter_into_bz_with_data.png.license +3 -0
  214. quant_met-0.0.17/tests/baseline_images/test_plotting/sf_weight.png +0 -0
  215. quant_met-0.0.17/tests/baseline_images/test_plotting/sf_weight.png.license +3 -0
  216. quant_met-0.0.17/tests/test_benchmarks.py +139 -0
  217. quant_met-0.0.17/tests/test_cli.py +115 -0
  218. quant_met-0.0.17/tests/test_geometry.py +40 -0
  219. quant_met-0.0.17/tests/test_hamiltonians/__init__.py +5 -0
  220. quant_met-0.0.17/tests/test_hamiltonians/test_fixed_values.py +125 -0
  221. quant_met-0.0.17/tests/test_hamiltonians/test_invalid_values.py +93 -0
  222. quant_met-0.0.17/tests/test_hamiltonians/test_random_samples.py +170 -0
  223. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_bdg_hamiltonian_derivative_graphene.npz +0 -0
  224. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_bdg_hamiltonian_derivative_graphene.npz.license +3 -0
  225. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_current.npz +0 -0
  226. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_current.npz.license +3 -0
  227. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_density_of_states.npz +0 -0
  228. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_density_of_states.npz.license +3 -0
  229. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_free_energy.npz +0 -0
  230. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_free_energy.npz.license +3 -0
  231. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_graphene.npz +0 -0
  232. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_graphene.npz.license +3 -0
  233. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_one_band.npz +0 -0
  234. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_one_band.npz.license +3 -0
  235. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_hamiltonian_three_band.npz +0 -0
  236. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_hamiltonian_three_band.npz.license +3 -0
  237. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_hamiltonian_two_band.npz +0 -0
  238. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_hamiltonian_two_band.npz.license +3 -0
  239. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_spectral_gap.npz +0 -0
  240. quant_met-0.0.17/tests/test_hamiltonians/test_regressions/test_spectral_gap.npz.license +3 -0
  241. quant_met-0.0.17/tests/test_hamiltonians/test_regressions.py +303 -0
  242. quant_met-0.0.17/tests/test_hamiltonians/test_save.py +212 -0
  243. quant_met-0.0.17/tests/test_integration/__init__.py +5 -0
  244. quant_met-0.0.17/tests/test_integration/test_crit_temp.py +69 -0
  245. quant_met-0.0.17/tests/test_integration/test_scf.py +43 -0
  246. quant_met-0.0.17/tests/test_plotting.py +285 -0
  247. quant_met-0.0.17/tests/test_quantum_metric/test_quantum_metric_bdg_dressed_graphene.npz +0 -0
  248. quant_met-0.0.17/tests/test_quantum_metric/test_quantum_metric_bdg_dressed_graphene.npz.license +3 -0
  249. quant_met-0.0.17/tests/test_quantum_metric/test_quantum_metric_bdg_graphene.npz +0 -0
  250. quant_met-0.0.17/tests/test_quantum_metric/test_quantum_metric_bdg_graphene.npz.license +3 -0
  251. quant_met-0.0.17/tests/test_quantum_metric/test_quantum_metric_dressed_graphene.npz +0 -0
  252. quant_met-0.0.17/tests/test_quantum_metric/test_quantum_metric_dressed_graphene.npz.license +3 -0
  253. quant_met-0.0.17/tests/test_quantum_metric/test_quantum_metric_graphene.npz +0 -0
  254. quant_met-0.0.17/tests/test_quantum_metric/test_quantum_metric_graphene.npz.license +3 -0
  255. quant_met-0.0.17/tests/test_quantum_metric.py +73 -0
  256. quant_met-0.0.17/tests/test_self_consistency.py +62 -0
  257. quant_met-0.0.17/tests/test_superfluid_weight/test_superfluid_weight_dressed_graphene.npz +0 -0
  258. quant_met-0.0.17/tests/test_superfluid_weight/test_superfluid_weight_dressed_graphene.npz.license +3 -0
  259. quant_met-0.0.17/tests/test_superfluid_weight/test_superfluid_weight_graphene.npz +0 -0
  260. quant_met-0.0.17/tests/test_superfluid_weight/test_superfluid_weight_graphene.npz.license +3 -0
  261. quant_met-0.0.17/tests/test_superfluid_weight.py +72 -0
  262. quant_met-0.0.17/tests/test_utils.py +82 -0
  263. quant_met-0.0.17/tox.ini +33 -0
  264. quant_met-0.0.17/uv.lock +3073 -0
  265. quant_met-0.0.17/uv.lock.license +3 -0
  266. quant_met-0.0.15/pyproject.toml +0 -83
  267. {quant_met-0.0.15 → quant_met-0.0.17}/LICENSE.txt +0 -0
  268. {quant_met-0.0.15 → quant_met-0.0.17}/LICENSES/MIT.txt +0 -0
  269. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/__init__.py +0 -0
  270. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/cli/__init__.py +0 -0
  271. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/cli/_utils.py +0 -0
  272. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/cli/crit_temp.py +0 -0
  273. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/cli/main.py +0 -0
  274. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/cli/scf.py +0 -0
  275. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/mean_field/__init__.py +3 -3
  276. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/mean_field/_utils.py +0 -0
  277. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/parameters/__init__.py +5 -5
  278. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/parameters/main.py +0 -0
  279. {quant_met-0.0.15 → quant_met-0.0.17}/src/quant_met/plotting/__init__.py +1 -1
@@ -0,0 +1,18 @@
1
+ # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ [paths]
6
+ source =
7
+ src
8
+ */site-packages
9
+
10
+ [run]
11
+ branch = true
12
+ parallel = true
13
+ source =
14
+ quant_met
15
+
16
+ [report]
17
+ show_missing = true
18
+ precision = 2
@@ -0,0 +1,12 @@
1
+ # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ # Set update schedule for GitHub Actions
6
+ version: 2
7
+ updates:
8
+ - package-ecosystem: "github-actions"
9
+ directory: "/"
10
+ schedule:
11
+ # Check for updates to GitHub Actions every week
12
+ interval: "weekly"
@@ -0,0 +1,23 @@
1
+ # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ name: Check version
6
+
7
+ on:
8
+ pull_request:
9
+
10
+ jobs:
11
+ check-version:
12
+ name: Check whether verion number is bumped
13
+ runs-on: ubuntu-latest
14
+ if: ${{ startsWith(github.head_ref, 'release') }}
15
+ steps:
16
+ - uses: getsentry/action-setup-venv@v2.1.0
17
+ id: venv
18
+ with:
19
+ python-version: 3.12.2
20
+ install-cmd: pip install quant-met poetry
21
+ - uses: actions/checkout@v4
22
+ - name: check version
23
+ run: ./check_version.sh
@@ -0,0 +1,33 @@
1
+ # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ name: CodSpeed
6
+
7
+ on:
8
+ push:
9
+ branches:
10
+ - "main"
11
+ pull_request:
12
+ workflow_dispatch:
13
+
14
+ jobs:
15
+ benchmarks:
16
+ name: Run benchmarks
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - uses: actions/setup-python@v5
21
+ with:
22
+ python-version: "3.12"
23
+ - name: Install uv
24
+ run: pip install uv
25
+ - name: Install dependencies
26
+ run: uv venv
27
+ - name: Install dependencies
28
+ run: uv sync --group test
29
+ - name: Run benchmarks
30
+ uses: CodSpeedHQ/action@v3
31
+ with:
32
+ token: ${{ secrets.CODSPEED_TOKEN }}
33
+ run: uv run pytest tests/ --codspeed
@@ -0,0 +1,39 @@
1
+ # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ name: Integration tests
6
+
7
+ on:
8
+ workflow_call:
9
+ pull_request:
10
+ push:
11
+ branches:
12
+ - 'main'
13
+
14
+ permissions:
15
+ pull-requests: write
16
+
17
+ jobs:
18
+ test:
19
+ name: Integration tests
20
+ if: ${{ contains(github.event.head_commit.message, 'needs-integration') || github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
21
+ runs-on: ubuntu-latest
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+ with:
25
+ fetch-depth: 0
26
+ - name: Setup python
27
+ uses: actions/setup-python@v5
28
+ with:
29
+ python-version: "3.12"
30
+ - name: Install tox and uv
31
+ run: python -m pip install uv
32
+ - name: Setup uv
33
+ run: uv venv
34
+ - name: Install tox-uv
35
+ run: uv tool install tox --with tox-uv
36
+ - name: Install tox-gh
37
+ run: uv pip install tox-gh>=1.2
38
+ - name: Run test suite
39
+ run: uv tool run tox -e py312 -- --with-slow-integration
@@ -0,0 +1,28 @@
1
+ # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ name: Publish python package
6
+
7
+ on:
8
+ push:
9
+ tags:
10
+ - "*.*.*"
11
+
12
+ permissions:
13
+ pull-requests: write
14
+
15
+ jobs:
16
+ tests:
17
+ uses: ./.github/workflows/integration_tests.yml
18
+ build:
19
+ needs: [tests]
20
+ runs-on: ubuntu-latest
21
+ permissions:
22
+ id-token: write
23
+ steps:
24
+ - uses: actions/checkout@v4
25
+ - name: Install uv
26
+ uses: astral-sh/setup-uv@v5
27
+ - name: Build and publish to pypi
28
+ run: uv build && uv publish
@@ -0,0 +1,40 @@
1
+ # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ name: Unit tests, linting and type checking
6
+
7
+ on:
8
+ workflow_call:
9
+ pull_request:
10
+ push:
11
+ branches:
12
+ - 'main'
13
+
14
+ permissions:
15
+ pull-requests: write
16
+
17
+ jobs:
18
+ test:
19
+ name: Unit tests
20
+ runs-on: ubuntu-latest
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+ with:
24
+ fetch-depth: 0
25
+ - name: Setup python
26
+ uses: actions/setup-python@v5
27
+ with:
28
+ python-version: "3.12"
29
+ - name: Install tox and uv
30
+ run: python -m pip install uv
31
+ - name: Setup uv
32
+ run: uv venv
33
+ - name: Install tox-uv
34
+ run: uv tool install tox --with tox-uv
35
+ - name: Install tox-gh
36
+ run: uv pip install tox-gh>=1.2
37
+ - name: Run test suite
38
+ run: uv tool run tox -- --without-slow-integration
39
+ - name: Coveralls
40
+ uses: coverallsapp/github-action@v2
@@ -0,0 +1,14 @@
1
+ # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ .idea/
6
+ .coverage
7
+ coverage.xml
8
+ report.xml
9
+ .tox/
10
+ **/__pycache__/
11
+ docs/build
12
+ .hypothesis/
13
+ result_images/
14
+ **/.DS_Store
@@ -0,0 +1,32 @@
1
+ # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ repos:
6
+ - repo: https://github.com/pre-commit/pre-commit-hooks
7
+ rev: v4.6.0
8
+ hooks:
9
+ - id: check-toml
10
+ - id: check-yaml
11
+ - id: end-of-file-fixer
12
+ - id: trailing-whitespace
13
+ - repo: https://github.com/fsfe/reuse-tool
14
+ rev: v4.0.3
15
+ hooks:
16
+ - id: reuse
17
+ - repo: https://github.com/astral-sh/ruff-pre-commit
18
+ # Ruff version.
19
+ rev: v0.5.0
20
+ hooks:
21
+ # Run the linter.
22
+ - id: ruff
23
+ types_or: [ python, pyi, jupyter ]
24
+ args: [ --fix, src ]
25
+ # Run the formatter.
26
+ - id: ruff-format
27
+ types_or: [ python, pyi, jupyter ]
28
+ - repo: https://github.com/pre-commit/pre-commit-hooks
29
+ rev: v4.6.0
30
+ hooks:
31
+ - id: no-commit-to-branch
32
+ args: [ --branch, main ]
@@ -0,0 +1,33 @@
1
+ # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ # .readthedocs.yaml
6
+ # Read the Docs configuration file
7
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
8
+
9
+ # Required
10
+ version: 2
11
+
12
+ # Set the OS, Python version and other tools you might need
13
+ build:
14
+ os: ubuntu-22.04
15
+ tools:
16
+ python: "3.12"
17
+
18
+ # Build documentation in the "docs/" directory with Sphinx
19
+ sphinx:
20
+ configuration: docs/source/conf.py
21
+ fail_on_warning: false
22
+
23
+ # Optionally build your docs in additional formats such as PDF and ePub
24
+ # formats:
25
+ # - pdf
26
+ # - epub
27
+
28
+ # Optional but recommended, declare the Python requirements required
29
+ # to build your documentation
30
+ # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
31
+ python:
32
+ install:
33
+ - requirements: docs/requirements.txt
@@ -0,0 +1,275 @@
1
+ .. SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ ..
3
+ .. SPDX-License-Identifier: MIT
4
+
5
+ .. _changelog-0.0.17:
6
+
7
+ 0.0.17 — 2025-01-10
8
+ -------------------
9
+
10
+ Added
11
+ ^^^^^
12
+
13
+ - Method to calculate free energy for a given hamiltonian
14
+
15
+ - Method to calculate current density for a given Hamiltonian
16
+
17
+ Changed
18
+ ^^^^^^^
19
+
20
+ - Speedup of calculation of superfluid weight via caching of intermediate values
21
+
22
+ Fixed
23
+ ^^^^^
24
+
25
+ - Sign in calculation of superfluid weight
26
+
27
+ .. _changelog-0.0.16:
28
+
29
+ 0.0.16 — 2024-11-22
30
+ -------------------
31
+
32
+ Fixed
33
+ ^^^^^
34
+
35
+ - Fit for critical temperatures
36
+
37
+ .. _changelog-0.0.15:
38
+
39
+ 0.0.15 — 2024-11-21
40
+ -------------------
41
+
42
+ Fixed
43
+ ^^^^^
44
+
45
+ - Fixed some cases of the crit_temp routine going into the wrong direction
46
+
47
+ .. _changelog-0.0.14:
48
+
49
+ 0.0.14 — 2024-11-20
50
+ -------------------
51
+
52
+ Changed
53
+ ^^^^^^^
54
+
55
+ - crit-temp routine now saves a sample Hamiltonian besides the critical temperatures
56
+
57
+ Fixed
58
+ ^^^^^
59
+
60
+ - Search for T_C bounds, so that it does not loop anymore in certain cases
61
+
62
+ .. _changelog-0.0.13:
63
+
64
+ 0.0.13 — 2024-11-19
65
+ -------------------
66
+
67
+ Added
68
+ ^^^^^
69
+
70
+ - Routine to search for transition temperature
71
+
72
+ .. _changelog-0.0.12:
73
+
74
+ 0.0.12 — 2024-11-09
75
+ -------------------
76
+
77
+ Changed
78
+ ^^^^^^^
79
+
80
+ - Use numpy allclose function in covergence criterium
81
+
82
+ .. _changelog-0.0.11:
83
+
84
+ 0.0.11 — 2024-11-08
85
+ -------------------
86
+
87
+ Changed
88
+ ^^^^^^^
89
+
90
+ - Option to set maximum number of iterations in self-consistency loop
91
+
92
+ - Convergence criterium changed to be relative, i.e. the change in gap components is divided by the old gap components and then compared to the epsilon
93
+
94
+ .. _changelog-0.0.10:
95
+
96
+ 0.0.10 — 2024-11-06
97
+ -------------------
98
+
99
+ Added
100
+ ^^^^^
101
+
102
+ - Gap equation at zero temperature
103
+
104
+ - Proper logging and debug mode
105
+
106
+ Fixed
107
+ ^^^^^
108
+
109
+ - Typing in Hamiltonian classes, so the from_file method returns the corresponding subclass
110
+
111
+ .. _changelog-0.0.9:
112
+
113
+ 0.0.9 — 2024-10-28
114
+ ------------------
115
+
116
+ Changed
117
+ ^^^^^^^
118
+
119
+ - Save all simulation parameters into the output file
120
+
121
+ - Restructured mean_field Hamiltonian classes, so more functionality is concentrated in the base class
122
+
123
+ Fixed
124
+ ^^^^^
125
+
126
+ - Fixed mistake in gap equation: had the algebra wrong, leading to the self-consistency not converging correctly
127
+
128
+ .. _changelog-0.0.8:
129
+
130
+ 0.0.8 — 2024-10-23
131
+ ------------------
132
+
133
+ Removed
134
+ ^^^^^^^
135
+
136
+ - Functions to calculate free energy, as they are not needed anymore with the new self-consistency solver
137
+
138
+ Added
139
+ ^^^^^
140
+
141
+ - Command-line-interface to run input files
142
+
143
+ - Finite momentum pairing into BdG Hamiltonian and self-consistency
144
+
145
+ - Finite momentum pairing into input file
146
+
147
+ - Function in Hamiltonian to calculate spectral gap from DOS
148
+
149
+ Changed
150
+ ^^^^^^^
151
+
152
+ - Put Hamiltonians into subpackage under mean_field
153
+
154
+ Fixed
155
+ ^^^^^
156
+
157
+ - Take lattice as argument in self-consistency, dont use Graphene lattice as default
158
+
159
+ .. _changelog-0.0.7:
160
+
161
+ 0.0.7 — 2024-10-15
162
+ ------------------
163
+
164
+ Added
165
+ ^^^^^
166
+
167
+ - Function to calculate density of states from bands
168
+
169
+ Changed
170
+ ^^^^^^^
171
+
172
+ - Multiply out phase factor of first entry in gap equation
173
+
174
+ Fixed
175
+ ^^^^^
176
+
177
+ - Sum over bands for calculation of quantum metric in normal state as well
178
+
179
+ .. _changelog-0.0.6:
180
+
181
+ 0.0.6 — 2024-10-07
182
+ ------------------
183
+
184
+ Added
185
+ ^^^^^
186
+
187
+ - Class bundling all aspects concerning lattice geometry
188
+
189
+ - Plotting methods for superfluid weight and quantum metric
190
+
191
+ - Proper self-consistent calculation of gap
192
+
193
+ - Implemented finite temperature into self-consistency calculation
194
+
195
+ - One band tight binding Hamiltonian
196
+
197
+ Changed
198
+ ^^^^^^^
199
+
200
+ - Moved formatting of plots into a separate method
201
+
202
+ - Renamed variables in classes to be consistent and clearer
203
+
204
+ .. _changelog-0.0.5:
205
+
206
+ 0.0.5 — 2024-08-27
207
+ ------------------
208
+
209
+ Fixed
210
+ ^^^^^
211
+
212
+ - Correct calculation of superfluid weight using the unitary matrix diagonalising the BdG Hamiltonian
213
+
214
+ .. _changelog-0.0.4:
215
+
216
+ 0.0.4 — 2024-07-10
217
+ ------------------
218
+
219
+ Added
220
+ ^^^^^
221
+
222
+ - Implemented calculation of quantum metric for BdG states
223
+
224
+ Changed
225
+ ^^^^^^^
226
+
227
+ - Hamiltonian methods now construct matrices in one turn from the whole k point list, this should significantly speed up calculations
228
+
229
+ .. _changelog-0.0.3:
230
+
231
+ 0.0.3 — 2024-07-05
232
+ ------------------
233
+
234
+ Added
235
+ ^^^^^
236
+
237
+ - Add formula to calculate quantum metric
238
+
239
+ Changed
240
+ ^^^^^^^
241
+
242
+ - Rename hamiltonians namespace to mean_field
243
+
244
+ - Implemented wrappers around the free energy calculation to calculate with a complex, real or uniform (in the orbitals) order parameter
245
+
246
+ - Calculate and return all components of the superfluid weight
247
+
248
+ .. _changelog-0.0.2:
249
+
250
+ 0.0.2 — 2024-07-01
251
+ ------------------
252
+
253
+ Added
254
+ ^^^^^
255
+
256
+ - Can save and read results for a Hamiltonian, including parameters
257
+
258
+ - Calculation of superfluid weight
259
+
260
+ - Calculation of free energy at zero temperature
261
+
262
+ Changed
263
+ ^^^^^^^
264
+
265
+ - Put units into plots
266
+
267
+ .. _changelog-0.0.1:
268
+
269
+ 0.0.1 — 2024-05-31
270
+ ------------------
271
+
272
+ Added
273
+ ^^^^^
274
+
275
+ - Initial release with solid treatment of noninteracting models and gap equation ansatz
@@ -0,0 +1,49 @@
1
+ # SPDX-FileCopyrightText: 2024 Tjark Sievers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ SHELL:=/bin/bash
6
+
7
+ CONDA_ENV_NAME := quant-met-dev
8
+
9
+ # Variables to test the conda environment
10
+ ifeq (,$(shell which conda))
11
+ HAS_CONDA=False
12
+ else
13
+ HAS_CONDA=True
14
+ ENV_DIR=$(shell conda info --base)
15
+ MY_ENV_DIR=$(ENV_DIR)/envs/$(CONDA_ENV_NAME)
16
+ CONDA_ACTIVATE=. $$(conda info --base)/etc/profile.d/conda.sh ; conda activate
17
+ endif
18
+
19
+ build:
20
+ $(CONDA_ACTIVATE) $(CONDA_ENV_NAME) && poetry build
21
+
22
+
23
+
24
+ .PHONY: help
25
+ help: # Show help for each of the Makefile recipes.
26
+ @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
27
+
28
+
29
+ .PHONY: clean
30
+ clean: # Clean up build files.
31
+ @rm -r dist/
32
+
33
+
34
+ environment: # Install the development environment.
35
+ ifeq (True,$(HAS_CONDA))
36
+ ifneq ("$(wildcard $(MY_ENV_DIR))","") # check if the directory is there
37
+ @echo ">>> Found $(CONDA_ENV_NAME) environment in $(MY_ENV_DIR)."
38
+ conda env update -f environment.yml -n $(CONDA_ENV_NAME) --prune
39
+ else
40
+ @echo ">>> Detected conda, but $(CONDA_ENV_NAME) is missing in $(ENV_DIR). Installing ..."
41
+ conda env create -f environment.yml -n $(CONDA_ENV_NAME)
42
+ endif
43
+ $(CONDA_ACTIVATE) $(CONDA_ENV_NAME) && poetry install
44
+ $(CONDA_ACTIVATE) $(CONDA_ENV_NAME) && pre-commit install
45
+ @echo ">>> Everything installed, use 'conda activate $(CONDA_ENV_NAME)' to use the environment."
46
+ else
47
+ @echo ">>> Install conda first."
48
+ exit
49
+ endif
@@ -1,24 +1,20 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: quant-met
3
- Version: 0.0.15
3
+ Version: 0.0.17
4
4
  Summary: Calculate superconductivity in flat-band systems.
5
- Home-page: https://quant-met.tjarksievers.de
6
- Author: Tjark Sievers
7
- Author-email: tsievers@physnet.uni-hamburg.de
8
- Requires-Python: >=3.11,<3.13
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: Programming Language :: Python :: 3.11
11
- Classifier: Programming Language :: Python :: 3.12
12
- Requires-Dist: click (>=8.1.7,<9.0.0)
13
- Requires-Dist: h5py (>=3.12.1,<4.0.0)
14
- Requires-Dist: matplotlib (>=3.9.2,<4.0.0)
15
- Requires-Dist: numpy (>=2.1.2,<3.0.0)
16
- Requires-Dist: numpydantic (>=1.6.4,<2.0.0)
17
- Requires-Dist: pandas (>=2.2.3,<3.0.0)
18
- Requires-Dist: pydantic (>=2.9.2,<3.0.0)
19
- Requires-Dist: scipy (>=1.14.1,<2.0.0)
20
- Requires-Dist: tables (>=3.10.1,<4.0.0)
21
- Project-URL: Repository, https://github.com/Ruberhauptmann/quant-met
5
+ Author-email: Tjark Sievers <tsievers@physnet.uni-hamburg.de>
6
+ License-File: LICENSE.txt
7
+ Requires-Python: >=3.11
8
+ Requires-Dist: click>=8.1.8
9
+ Requires-Dist: h5py>=3.12.1
10
+ Requires-Dist: matplotlib>=3.10.0
11
+ Requires-Dist: numba>=0.60.0
12
+ Requires-Dist: numpy<2.1
13
+ Requires-Dist: numpydantic>=1.6.6
14
+ Requires-Dist: pandas>=2.2.3
15
+ Requires-Dist: pydantic>=2.10.4
16
+ Requires-Dist: scipy>=1.15.0
17
+ Requires-Dist: tables>=3.10.2
22
18
  Description-Content-Type: text/markdown
23
19
 
24
20
  <!--
@@ -29,6 +25,7 @@ SPDX-License-Identifier: MIT
29
25
 
30
26
  # quant-met
31
27
 
28
+ [![DOI](https://zenodo.org/badge/800628635.svg)](https://zenodo.org/badge/latestdoi/800628635)
32
29
  [![Test](https://github.com/Ruberhauptmann/quant-met/actions/workflows/unit_tests.yml/badge.svg)](https://github.com/Ruberhauptmann/quant-met/actions/workflows/unit_tests.yml)
33
30
  [![Coverage Status](https://coveralls.io/repos/github/Ruberhauptmann/quant-met/badge.svg?branch=main)](https://coveralls.io/github/Ruberhauptmann/quant-met?branch=main)
34
31
  [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/quant-met)](https://pypi.org/project/quant-met/)
@@ -36,13 +33,14 @@ SPDX-License-Identifier: MIT
36
33
 
37
34
  quant-met is a python package to treat superconductivity in flat-band systems.
38
35
 
36
+ More information:
39
37
  - Documentation: [quant-met.tjarksievers.de](https://quant-met.tjarksievers.de)
40
- - user guide see [documentation](https://quant-met.tjarksievers.de/en/latest/examples.html).
38
+ - [User guide](https://quant-met.tjarksievers.de/en/latest/user_guide.html)
39
+
41
40
 
42
41
  ## Contributing
43
42
 
44
43
  This is a personal project, very geared to the work I did in my master's thesis.
45
- If someone is using this and experiencing bugs or want the software extended, feel free to open an issue!
46
-
47
- If you want to contribute, see [documentation](https://quant-met.tjarksievers.de/en/latest/examples.html).
44
+ If someone is using this and experiencing bugs or want the software extended, feel free to open an [issue](https://github.com/Ruberhauptmann/quant-met/issues/new/choose)!
48
45
 
46
+ If you want to contribute, see [documentation](https://quant-met.tjarksievers.de/en/latest/development.html).
@@ -6,6 +6,7 @@ SPDX-License-Identifier: MIT
6
6
 
7
7
  # quant-met
8
8
 
9
+ [![DOI](https://zenodo.org/badge/800628635.svg)](https://zenodo.org/badge/latestdoi/800628635)
9
10
  [![Test](https://github.com/Ruberhauptmann/quant-met/actions/workflows/unit_tests.yml/badge.svg)](https://github.com/Ruberhauptmann/quant-met/actions/workflows/unit_tests.yml)
10
11
  [![Coverage Status](https://coveralls.io/repos/github/Ruberhauptmann/quant-met/badge.svg?branch=main)](https://coveralls.io/github/Ruberhauptmann/quant-met?branch=main)
11
12
  [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/quant-met)](https://pypi.org/project/quant-met/)
@@ -13,12 +14,14 @@ SPDX-License-Identifier: MIT
13
14
 
14
15
  quant-met is a python package to treat superconductivity in flat-band systems.
15
16
 
17
+ More information:
16
18
  - Documentation: [quant-met.tjarksievers.de](https://quant-met.tjarksievers.de)
17
- - user guide see [documentation](https://quant-met.tjarksievers.de/en/latest/examples.html).
19
+ - [User guide](https://quant-met.tjarksievers.de/en/latest/user_guide.html)
20
+
18
21
 
19
22
  ## Contributing
20
23
 
21
24
  This is a personal project, very geared to the work I did in my master's thesis.
22
- If someone is using this and experiencing bugs or want the software extended, feel free to open an issue!
25
+ If someone is using this and experiencing bugs or want the software extended, feel free to open an [issue](https://github.com/Ruberhauptmann/quant-met/issues/new/choose)!
23
26
 
24
- If you want to contribute, see [documentation](https://quant-met.tjarksievers.de/en/latest/examples.html).
27
+ If you want to contribute, see [documentation](https://quant-met.tjarksievers.de/en/latest/development.html).