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.
- {quant_met-0.0.25 → quant_met-0.0.27}/.coveragerc +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/.github/dependabot.yml +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/.github/workflows/check_version.yml +1 -0
- quant_met-0.0.27/.github/workflows/codspeed.yml +38 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/.github/workflows/integration_tests.yml +10 -12
- quant_met-0.0.27/.github/workflows/linting.yml +36 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/.github/workflows/publish.yml +1 -0
- quant_met-0.0.27/.github/workflows/typing.yml +36 -0
- quant_met-0.0.27/.github/workflows/unit_tests.yml +56 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/.gitignore +2 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/.pre-commit-config.yaml +3 -6
- {quant_met-0.0.25 → quant_met-0.0.27}/.readthedocs.yaml +4 -1
- {quant_met-0.0.25 → quant_met-0.0.27}/CHANGELOG.rst +1 -1
- quant_met-0.0.27/Makefile +28 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/PKG-INFO +5 -3
- {quant_met-0.0.25 → quant_met-0.0.27}/README.md +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/changelog.d/scriv.ini +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/check_version.sh +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/Makefile +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/make.bat +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/requirements.txt +2 -3
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/_static/custom.css +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/_templates/autosummary/attribute.rst +1 -0
- quant_met-0.0.27/docs/source/_templates/autosummary/class.rst +19 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/_templates/autosummary/function.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/_templates/autosummary/method.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/_templates/autosummary/module.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/_templates/autosummary/property.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/_templates/autosummary/pydantic.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/changelog.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/conf.py +4 -4
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/development.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/example_input_T_C.yaml +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/example_input_T_C_one_band.yaml +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/example_input_dmft.yaml +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/example_input_scf.yaml +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/examples/band_structures.ipynb +12 -12
- quant_met-0.0.27/docs/source/extra/versions.json +22 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/index.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/cli.rst +1 -0
- quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.rst +19 -0
- quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.rst +19 -0
- quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.rst +19 -0
- quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.rst +19 -0
- quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.rst +19 -0
- quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.rst +19 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.DressedGrapheneParameters.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.GrapheneParameters.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.HamiltonianParameters.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.OneBandParameters.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.ThreeBandParameters.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.TwoBandParameters.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.rst +1 -2
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/quant_met.parameters.Control.rst +1 -2
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/quant_met.parameters.KPoints.rst +1 -2
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/parameters/quant_met.parameters.Parameters.rst +1 -2
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.cli.cli.rst +0 -4
- quant_met-0.0.27/docs/source/reference/generated/quant_met.geometry.BaseLattice.rst +19 -0
- quant_met-0.0.27/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.rst +19 -0
- quant_met-0.0.27/docs/source/reference/generated/quant_met.geometry.SquareLattice.rst +19 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.geometry.generate_bz_path.rst +1 -2
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.mean_field.hamiltonians.rst +1 -2
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.mean_field.search_crit_temp.rst +1 -2
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.mean_field.self_consistency_loop.rst +1 -2
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.plotting.format_plot.rst +1 -2
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.plotting.plot_bandstructure.rst +1 -2
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.plotting.plot_superfluid_weight.rst +1 -2
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.plotting.scatter_into_bz.rst +1 -2
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/generated/quant_met.utils.generate_uniform_grid.rst +1 -2
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/geometry.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/index.rst +7 -6
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/mean_field.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/parameters.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/plotting.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/reference/utils.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/user_guide/first-scf.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/user_guide/search_T_C.rst +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/user_guide.rst +1 -0
- quant_met-0.0.27/justfile +13 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/pyproject.toml +40 -3
- quant_met-0.0.27/src/quant_met/__init__.py +10 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/cli/__init__.py +1 -0
- quant_met-0.0.27/src/quant_met/cli/_utils.py +32 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/cli/crit_temp.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/cli/main.py +1 -4
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/cli/scf.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/geometry/__init__.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/geometry/base_lattice.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/geometry/bz_path.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/geometry/graphene.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/geometry/square.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/__init__.py +1 -2
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/_utils.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/hamiltonians/__init__.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/hamiltonians/base_hamiltonian.py +3 -2
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/hamiltonians/dressed_graphene.py +4 -7
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/hamiltonians/graphene.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/hamiltonians/one_band_tight_binding.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/hamiltonians/three_band_tight_binding.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/hamiltonians/two_band_tight_binding.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/search_crit_temp.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/mean_field/self_consistency.py +2 -1
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/parameters/__init__.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/parameters/hamiltonians.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/parameters/main.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/plotting/__init__.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/plotting/plotting.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/src/quant_met/utils.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/__init__.py +1 -0
- quant_met-0.0.27/tests/baseline_images/test_plotting/nonint_bandstructure_dressed_graphene.png +0 -0
- quant_met-0.0.27/tests/baseline_images/test_plotting/nonint_bandstructure_graphene.png +0 -0
- quant_met-0.0.27/tests/baseline_images/test_plotting/nonint_bandstructure_one_band.png +0 -0
- quant_met-0.0.27/tests/baseline_images/test_plotting/scatter_into_bz.png +0 -0
- quant_met-0.0.27/tests/baseline_images/test_plotting/scatter_into_bz_with_data.png +0 -0
- quant_met-0.0.27/tests/baseline_images/test_plotting/sf_weight.png +0 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_benchmarks.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_cli.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_geometry.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/__init__.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_fixed_values.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_invalid_values.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_random_samples.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_bdg_hamiltonian_derivative_graphene.npz.license +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_current.npz.license +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_density_of_states.npz.license +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_free_energy.npz.license +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_graphene.npz.license +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_one_band.npz.license +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_hamiltonian_three_band.npz.license +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_hamiltonian_two_band.npz.license +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_spectral_gap.npz.license +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_save.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_integration/__init__.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_integration/test_crit_temp.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_integration/test_scf.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_plotting.py +1 -0
- quant_met-0.0.27/tests/test_quantum_metric/test_quantum_metric_dressed_graphene.npz +0 -0
- quant_met-0.0.27/tests/test_quantum_metric/test_quantum_metric_graphene.npz +0 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_quantum_metric.py +4 -1
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_self_consistency.py +1 -0
- quant_met-0.0.27/tests/test_superfluid_weight/test_superfluid_weight_dressed_graphene.npz +0 -0
- quant_met-0.0.27/tests/test_superfluid_weight/test_superfluid_weight_graphene.npz +0 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_superfluid_weight.py +7 -6
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_utils.py +1 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/uv.lock +302 -269
- {quant_met-0.0.25 → quant_met-0.0.27}/uv.lock.license +1 -0
- quant_met-0.0.25/.github/workflows/unit_tests.yml +0 -40
- quant_met-0.0.25/Makefile +0 -42
- quant_met-0.0.25/docs/source/_templates/autosummary/class.rst +0 -47
- quant_met-0.0.25/docs/source/examples/EG-X bands.pdf.license +0 -3
- quant_met-0.0.25/docs/source/examples/band_structures.ipynb.license +0 -3
- quant_met-0.0.25/docs/source/extra/versions.json +0 -12
- quant_met-0.0.25/docs/source/extra/versions.json.license +0 -3
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.bdg_hamiltonian.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.bdg_hamiltonian_derivative.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.calculate_bandstructure.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.calculate_density_of_states.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.calculate_spectral_gap.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.diagonalize_bdg.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.diagonalize_nonint.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.from_file.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.gap_equation.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.get_parameters_model.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.hamiltonian.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.hamiltonian_derivative.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.rst +0 -38
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.save.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.setup_lattice.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.bdg_hamiltonian.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.bdg_hamiltonian_derivative.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.calculate_bandstructure.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.calculate_density_of_states.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.calculate_spectral_gap.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.diagonalize_bdg.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.diagonalize_nonint.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.from_file.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.gap_equation.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.get_parameters_model.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.hamiltonian.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.hamiltonian_derivative.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.rst +0 -38
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.save.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.setup_lattice.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.bdg_hamiltonian.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.bdg_hamiltonian_derivative.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.calculate_bandstructure.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.calculate_density_of_states.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.calculate_spectral_gap.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.diagonalize_bdg.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.diagonalize_nonint.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.from_file.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.gap_equation.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.get_parameters_model.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.hamiltonian.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.hamiltonian_derivative.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.rst +0 -38
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.save.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.setup_lattice.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.bdg_hamiltonian.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.bdg_hamiltonian_derivative.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.calculate_bandstructure.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.calculate_density_of_states.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.calculate_spectral_gap.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.diagonalize_bdg.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.diagonalize_nonint.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.from_file.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.gap_equation.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.get_parameters_model.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.hamiltonian.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.hamiltonian_derivative.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.rst +0 -38
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.save.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.setup_lattice.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.bdg_hamiltonian.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.bdg_hamiltonian_derivative.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.calculate_bandstructure.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.calculate_density_of_states.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.calculate_spectral_gap.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.diagonalize_bdg.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.diagonalize_nonint.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.from_file.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.gap_equation.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.get_parameters_model.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.hamiltonian.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.hamiltonian_derivative.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.rst +0 -38
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.save.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.setup_lattice.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.bdg_hamiltonian.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.bdg_hamiltonian_derivative.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.calculate_bandstructure.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.calculate_density_of_states.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.calculate_spectral_gap.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.diagonalize_bdg.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.diagonalize_nonint.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.from_file.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.gap_equation.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.get_parameters_model.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.hamiltonian.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.hamiltonian_derivative.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.rst +0 -38
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.save.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.setup_lattice.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.BaseLattice.bz_corners.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.BaseLattice.generate_bz_grid.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.BaseLattice.generate_high_symmetry_path.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.BaseLattice.high_symmetry_points.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.BaseLattice.lattice_constant.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.BaseLattice.reciprocal_basis.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.BaseLattice.rst +0 -41
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.bz_corners.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.generate_bz_grid.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.generate_high_symmetry_path.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.high_symmetry_points.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.lattice_constant.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.reciprocal_basis.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.rst +0 -41
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.SquareLattice.bz_corners.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.SquareLattice.generate_bz_grid.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.SquareLattice.generate_high_symmetry_path.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.SquareLattice.high_symmetry_points.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.SquareLattice.lattice_constant.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.SquareLattice.reciprocal_basis.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.geometry.SquareLattice.rst +0 -41
- quant_met-0.0.25/docs/source/reference/generated/quant_met.mean_field.quantum_metric.rst +0 -17
- quant_met-0.0.25/docs/source/reference/generated/quant_met.mean_field.superfluid_weight.rst +0 -17
- quant_met-0.0.25/environment.yml +0 -39
- quant_met-0.0.25/src/quant_met/__init__.py +0 -5
- quant_met-0.0.25/src/quant_met/cli/_utils.py +0 -66
- quant_met-0.0.25/src/quant_met/cli/dmft.py +0 -96
- quant_met-0.0.25/src/quant_met/dmft/__init__.py +0 -5
- quant_met-0.0.25/src/quant_met/dmft/dmft_loop.py +0 -178
- quant_met-0.0.25/src/quant_met/dmft/utils.py +0 -207
- quant_met-0.0.25/tests/baseline_images/test_plotting/nonint_bandstructure_dressed_graphene.png +0 -0
- quant_met-0.0.25/tests/baseline_images/test_plotting/nonint_bandstructure_dressed_graphene.png.license +0 -3
- quant_met-0.0.25/tests/baseline_images/test_plotting/nonint_bandstructure_graphene.png +0 -0
- quant_met-0.0.25/tests/baseline_images/test_plotting/nonint_bandstructure_graphene.png.license +0 -3
- quant_met-0.0.25/tests/baseline_images/test_plotting/nonint_bandstructure_one_band.png +0 -0
- quant_met-0.0.25/tests/baseline_images/test_plotting/nonint_bandstructure_one_band.png.license +0 -3
- quant_met-0.0.25/tests/baseline_images/test_plotting/scatter_into_bz.png +0 -0
- quant_met-0.0.25/tests/baseline_images/test_plotting/scatter_into_bz.png.license +0 -3
- quant_met-0.0.25/tests/baseline_images/test_plotting/scatter_into_bz_with_data.png +0 -0
- quant_met-0.0.25/tests/baseline_images/test_plotting/scatter_into_bz_with_data.png.license +0 -3
- quant_met-0.0.25/tests/baseline_images/test_plotting/sf_weight.png +0 -0
- quant_met-0.0.25/tests/baseline_images/test_plotting/sf_weight.png.license +0 -3
- quant_met-0.0.25/tests/test_quantum_metric/test_quantum_metric_bdg_dressed_graphene.npz.license +0 -3
- quant_met-0.0.25/tests/test_quantum_metric/test_quantum_metric_bdg_graphene.npz.license +0 -3
- quant_met-0.0.25/tests/test_quantum_metric/test_quantum_metric_dressed_graphene.npz +0 -0
- quant_met-0.0.25/tests/test_quantum_metric/test_quantum_metric_dressed_graphene.npz.license +0 -3
- quant_met-0.0.25/tests/test_quantum_metric/test_quantum_metric_graphene.npz +0 -0
- quant_met-0.0.25/tests/test_quantum_metric/test_quantum_metric_graphene.npz.license +0 -3
- quant_met-0.0.25/tests/test_superfluid_weight/test_superfluid_weight_dressed_graphene.npz +0 -0
- quant_met-0.0.25/tests/test_superfluid_weight/test_superfluid_weight_dressed_graphene.npz.license +0 -3
- quant_met-0.0.25/tests/test_superfluid_weight/test_superfluid_weight_graphene.npz +0 -0
- quant_met-0.0.25/tests/test_superfluid_weight/test_superfluid_weight_graphene.npz.license +0 -3
- quant_met-0.0.25/tox.ini +0 -28
- {quant_met-0.0.25 → quant_met-0.0.27}/LICENSE.txt +0 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/LICENSES/MIT.txt +0 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/docs/source/examples/EG-X bands.pdf +0 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_bdg_hamiltonian_derivative_graphene.npz +0 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_current.npz +0 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_density_of_states.npz +0 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_free_energy.npz +0 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_graphene.npz +0 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_one_band.npz +0 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_hamiltonian_three_band.npz +0 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_hamiltonian_two_band.npz +0 -0
- {quant_met-0.0.25 → quant_met-0.0.27}/tests/test_hamiltonians/test_regressions/test_spectral_gap.npz +0 -0
@@ -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
|
-
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
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:
|
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
|
@@ -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:
|
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:
|
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
|
-
|
33
|
+
install:
|
33
34
|
- requirements: docs/requirements.txt
|
35
|
+
- method: pip
|
36
|
+
path: .
|
@@ -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.
|
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.
|
12
|
-
Requires-Dist: numpy
|
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
|
-->
|
@@ -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
|
|
@@ -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 = "
|
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": {
|
@@ -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
|
+
]
|