quant-met 0.0.16__tar.gz → 0.0.18__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.18/.coveragerc +18 -0
- quant_met-0.0.18/.github/dependabot.yml +12 -0
- quant_met-0.0.18/.github/workflows/check_version.yml +23 -0
- quant_met-0.0.18/.github/workflows/codspeed.yml +33 -0
- quant_met-0.0.18/.github/workflows/integration_tests.yml +39 -0
- quant_met-0.0.18/.github/workflows/publish.yml +28 -0
- quant_met-0.0.18/.github/workflows/unit_tests.yml +40 -0
- quant_met-0.0.18/.gitignore +14 -0
- quant_met-0.0.18/.pre-commit-config.yaml +32 -0
- quant_met-0.0.18/.readthedocs.yaml +33 -0
- quant_met-0.0.18/CHANGELOG.rst +285 -0
- quant_met-0.0.18/Makefile +49 -0
- {quant_met-0.0.16 → quant_met-0.0.18}/PKG-INFO +21 -23
- {quant_met-0.0.16 → quant_met-0.0.18}/README.md +6 -3
- quant_met-0.0.18/changelog.d/scriv.ini +6 -0
- quant_met-0.0.18/check_version.sh +24 -0
- quant_met-0.0.18/docs/Makefile +27 -0
- quant_met-0.0.18/docs/make.bat +39 -0
- quant_met-0.0.18/docs/requirements.txt +14 -0
- quant_met-0.0.18/docs/source/_static/custom.css +24 -0
- quant_met-0.0.18/docs/source/_templates/autosummary/attribute.rst +17 -0
- quant_met-0.0.18/docs/source/_templates/autosummary/class.rst +47 -0
- quant_met-0.0.18/docs/source/_templates/autosummary/function.rst +15 -0
- quant_met-0.0.18/docs/source/_templates/autosummary/method.rst +17 -0
- quant_met-0.0.18/docs/source/_templates/autosummary/module.rst +14 -0
- quant_met-0.0.18/docs/source/_templates/autosummary/property.rst +17 -0
- quant_met-0.0.18/docs/source/_templates/autosummary/pydantic.rst +20 -0
- quant_met-0.0.18/docs/source/changelog.rst +8 -0
- quant_met-0.0.18/docs/source/conf.py +101 -0
- quant_met-0.0.18/docs/source/development.rst +83 -0
- quant_met-0.0.18/docs/source/example_input_T_C.yaml +23 -0
- quant_met-0.0.18/docs/source/example_input_T_C_one_band.yaml +21 -0
- quant_met-0.0.18/docs/source/example_input_scf.yaml +26 -0
- quant_met-0.0.18/docs/source/examples/band_structures.ipynb +3998 -0
- quant_met-0.0.18/docs/source/examples/band_structures.ipynb.license +3 -0
- quant_met-0.0.18/docs/source/extra/versions.json +12 -0
- quant_met-0.0.18/docs/source/extra/versions.json.license +3 -0
- quant_met-0.0.18/docs/source/index.rst +54 -0
- quant_met-0.0.18/docs/source/reference/cli.rst +7 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.bdg_hamiltonian.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.bdg_hamiltonian_derivative.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.calculate_bandstructure.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.calculate_density_of_states.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.calculate_spectral_gap.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.diagonalize_bdg.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.diagonalize_nonint.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.from_file.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.gap_equation.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.get_parameters_model.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.hamiltonian.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.hamiltonian_derivative.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.rst +38 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.save.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.setup_lattice.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.bdg_hamiltonian.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.bdg_hamiltonian_derivative.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.calculate_bandstructure.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.calculate_density_of_states.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.calculate_spectral_gap.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.diagonalize_bdg.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.diagonalize_nonint.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.from_file.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.gap_equation.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.get_parameters_model.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.hamiltonian.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.hamiltonian_derivative.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.rst +38 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.save.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.setup_lattice.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.bdg_hamiltonian.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.bdg_hamiltonian_derivative.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.calculate_bandstructure.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.calculate_density_of_states.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.calculate_spectral_gap.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.diagonalize_bdg.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.diagonalize_nonint.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.from_file.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.gap_equation.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.get_parameters_model.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.hamiltonian.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.hamiltonian_derivative.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.rst +38 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.save.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.setup_lattice.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.bdg_hamiltonian.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.bdg_hamiltonian_derivative.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.calculate_bandstructure.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.calculate_density_of_states.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.calculate_spectral_gap.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.diagonalize_bdg.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.diagonalize_nonint.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.from_file.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.gap_equation.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.get_parameters_model.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.hamiltonian.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.hamiltonian_derivative.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.rst +38 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.save.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.setup_lattice.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.bdg_hamiltonian.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.bdg_hamiltonian_derivative.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.calculate_bandstructure.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.calculate_density_of_states.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.calculate_spectral_gap.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.diagonalize_bdg.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.diagonalize_nonint.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.from_file.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.gap_equation.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.get_parameters_model.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.hamiltonian.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.hamiltonian_derivative.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.rst +38 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.save.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.setup_lattice.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.bdg_hamiltonian.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.bdg_hamiltonian_derivative.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.calculate_bandstructure.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.calculate_density_of_states.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.calculate_spectral_gap.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.diagonalize_bdg.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.diagonalize_nonint.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.from_file.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.gap_equation.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.get_parameters_model.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.hamiltonian.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.hamiltonian_derivative.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.rst +38 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.save.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.setup_lattice.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.DressedGrapheneParameters.rst +20 -0
- quant_met-0.0.18/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.GrapheneParameters.rst +20 -0
- quant_met-0.0.18/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.HamiltonianParameters.rst +20 -0
- quant_met-0.0.18/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.OneBandParameters.rst +20 -0
- quant_met-0.0.18/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.ThreeBandParameters.rst +20 -0
- quant_met-0.0.18/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.TwoBandParameters.rst +20 -0
- quant_met-0.0.18/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.rst +16 -0
- quant_met-0.0.18/docs/source/reference/generated/parameters/quant_met.parameters.Control.rst +22 -0
- quant_met-0.0.18/docs/source/reference/generated/parameters/quant_met.parameters.KPoints.rst +22 -0
- quant_met-0.0.18/docs/source/reference/generated/parameters/quant_met.parameters.Parameters.rst +22 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.cli.cli.rst +10 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.BaseLattice.bz_corners.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.BaseLattice.generate_bz_grid.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.BaseLattice.generate_high_symmetry_path.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.BaseLattice.high_symmetry_points.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.BaseLattice.lattice_constant.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.BaseLattice.reciprocal_basis.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.BaseLattice.rst +41 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.bz_corners.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.generate_bz_grid.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.generate_high_symmetry_path.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.high_symmetry_points.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.lattice_constant.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.reciprocal_basis.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.rst +41 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.SquareLattice.bz_corners.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.SquareLattice.generate_bz_grid.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.SquareLattice.generate_high_symmetry_path.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.SquareLattice.high_symmetry_points.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.SquareLattice.lattice_constant.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.SquareLattice.reciprocal_basis.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.SquareLattice.rst +41 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.geometry.generate_bz_path.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.mean_field.hamiltonians.rst +16 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.mean_field.quantum_metric.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.mean_field.search_crit_temp.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.mean_field.self_consistency_loop.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.mean_field.superfluid_weight.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.plotting.format_plot.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.plotting.plot_bandstructure.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.plotting.plot_superfluid_weight.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.plotting.scatter_into_bz.rst +17 -0
- quant_met-0.0.18/docs/source/reference/generated/quant_met.utils.generate_uniform_grid.rst +17 -0
- quant_met-0.0.18/docs/source/reference/geometry.rst +7 -0
- quant_met-0.0.18/docs/source/reference/index.rst +29 -0
- quant_met-0.0.18/docs/source/reference/mean_field.rst +7 -0
- quant_met-0.0.18/docs/source/reference/parameters.rst +7 -0
- quant_met-0.0.18/docs/source/reference/plotting.rst +7 -0
- quant_met-0.0.18/docs/source/reference/utils.rst +7 -0
- quant_met-0.0.18/docs/source/user_guide/first-scf.rst +6 -0
- quant_met-0.0.18/docs/source/user_guide/search_T_C.rst +6 -0
- quant_met-0.0.18/docs/source/user_guide.rst +19 -0
- quant_met-0.0.18/environment.yml +10 -0
- quant_met-0.0.18/pyproject.toml +92 -0
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/cli/scf.py +27 -3
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/geometry/__init__.py +1 -1
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/geometry/base_lattice.py +6 -6
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/geometry/bz_path.py +6 -6
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/geometry/graphene.py +3 -3
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/geometry/square.py +3 -3
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/mean_field/__init__.py +2 -4
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/mean_field/hamiltonians/__init__.py +1 -1
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/mean_field/hamiltonians/base_hamiltonian.py +288 -52
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/mean_field/hamiltonians/dressed_graphene.py +6 -6
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/mean_field/hamiltonians/graphene.py +6 -6
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/mean_field/hamiltonians/one_band_tight_binding.py +6 -6
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/mean_field/hamiltonians/three_band_tight_binding.py +6 -6
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/mean_field/hamiltonians/two_band_tight_binding.py +6 -6
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/mean_field/quantum_metric.py +3 -3
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/mean_field/search_crit_temp.py +3 -3
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/mean_field/self_consistency.py +13 -9
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/parameters/hamiltonians.py +8 -8
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/parameters/main.py +1 -0
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/plotting/plotting.py +9 -9
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/utils.py +27 -5
- quant_met-0.0.18/tests/__init__.py +5 -0
- quant_met-0.0.18/tests/baseline_images/test_plotting/nonint_bandstructure_dressed_graphene.png +0 -0
- quant_met-0.0.18/tests/baseline_images/test_plotting/nonint_bandstructure_dressed_graphene.png.license +3 -0
- quant_met-0.0.18/tests/baseline_images/test_plotting/nonint_bandstructure_graphene.png +0 -0
- quant_met-0.0.18/tests/baseline_images/test_plotting/nonint_bandstructure_graphene.png.license +3 -0
- quant_met-0.0.18/tests/baseline_images/test_plotting/nonint_bandstructure_one_band.png +0 -0
- quant_met-0.0.18/tests/baseline_images/test_plotting/nonint_bandstructure_one_band.png.license +3 -0
- quant_met-0.0.18/tests/baseline_images/test_plotting/scatter_into_bz.png +0 -0
- quant_met-0.0.18/tests/baseline_images/test_plotting/scatter_into_bz.png.license +3 -0
- quant_met-0.0.18/tests/baseline_images/test_plotting/scatter_into_bz_with_data.png +0 -0
- quant_met-0.0.18/tests/baseline_images/test_plotting/scatter_into_bz_with_data.png.license +3 -0
- quant_met-0.0.18/tests/baseline_images/test_plotting/sf_weight.png +0 -0
- quant_met-0.0.18/tests/baseline_images/test_plotting/sf_weight.png.license +3 -0
- quant_met-0.0.18/tests/test_benchmarks.py +139 -0
- quant_met-0.0.18/tests/test_cli.py +134 -0
- quant_met-0.0.18/tests/test_geometry.py +40 -0
- quant_met-0.0.18/tests/test_hamiltonians/__init__.py +5 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_fixed_values.py +125 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_invalid_values.py +93 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_random_samples.py +170 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_bdg_hamiltonian_derivative_graphene.npz +0 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_bdg_hamiltonian_derivative_graphene.npz.license +3 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_current.npz +0 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_current.npz.license +3 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_density_of_states.npz +0 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_density_of_states.npz.license +3 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_free_energy.npz +0 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_free_energy.npz.license +3 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_graphene.npz +0 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_graphene.npz.license +3 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_one_band.npz +0 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_one_band.npz.license +3 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_hamiltonian_three_band.npz +0 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_hamiltonian_three_band.npz.license +3 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_hamiltonian_two_band.npz +0 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_hamiltonian_two_band.npz.license +3 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_spectral_gap.npz +0 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions/test_spectral_gap.npz.license +3 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_regressions.py +303 -0
- quant_met-0.0.18/tests/test_hamiltonians/test_save.py +212 -0
- quant_met-0.0.18/tests/test_integration/__init__.py +5 -0
- quant_met-0.0.18/tests/test_integration/test_crit_temp.py +69 -0
- quant_met-0.0.18/tests/test_integration/test_scf.py +43 -0
- quant_met-0.0.18/tests/test_plotting.py +287 -0
- quant_met-0.0.18/tests/test_quantum_metric/test_quantum_metric_bdg_dressed_graphene.npz +0 -0
- quant_met-0.0.18/tests/test_quantum_metric/test_quantum_metric_bdg_dressed_graphene.npz.license +3 -0
- quant_met-0.0.18/tests/test_quantum_metric/test_quantum_metric_bdg_graphene.npz +0 -0
- quant_met-0.0.18/tests/test_quantum_metric/test_quantum_metric_bdg_graphene.npz.license +3 -0
- quant_met-0.0.18/tests/test_quantum_metric/test_quantum_metric_dressed_graphene.npz +0 -0
- quant_met-0.0.18/tests/test_quantum_metric/test_quantum_metric_dressed_graphene.npz.license +3 -0
- quant_met-0.0.18/tests/test_quantum_metric/test_quantum_metric_graphene.npz +0 -0
- quant_met-0.0.18/tests/test_quantum_metric/test_quantum_metric_graphene.npz.license +3 -0
- quant_met-0.0.18/tests/test_quantum_metric.py +73 -0
- quant_met-0.0.18/tests/test_self_consistency.py +62 -0
- quant_met-0.0.18/tests/test_superfluid_weight/test_superfluid_weight_dressed_graphene.npz +0 -0
- quant_met-0.0.18/tests/test_superfluid_weight/test_superfluid_weight_dressed_graphene.npz.license +3 -0
- quant_met-0.0.18/tests/test_superfluid_weight/test_superfluid_weight_graphene.npz +0 -0
- quant_met-0.0.18/tests/test_superfluid_weight/test_superfluid_weight_graphene.npz.license +3 -0
- quant_met-0.0.18/tests/test_superfluid_weight.py +71 -0
- quant_met-0.0.18/tests/test_utils.py +82 -0
- quant_met-0.0.18/tox.ini +33 -0
- quant_met-0.0.18/uv.lock +3073 -0
- quant_met-0.0.18/uv.lock.license +3 -0
- quant_met-0.0.16/pyproject.toml +0 -83
- quant_met-0.0.16/src/quant_met/mean_field/superfluid_weight.py +0 -123
- {quant_met-0.0.16 → quant_met-0.0.18}/LICENSE.txt +0 -0
- {quant_met-0.0.16 → quant_met-0.0.18}/LICENSES/MIT.txt +0 -0
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/__init__.py +0 -0
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/cli/__init__.py +0 -0
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/cli/_utils.py +0 -0
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/cli/crit_temp.py +0 -0
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/cli/main.py +0 -0
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/mean_field/_utils.py +0 -0
- {quant_met-0.0.16 → quant_met-0.0.18}/src/quant_met/parameters/__init__.py +5 -5
- {quant_met-0.0.16 → quant_met-0.0.18}/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,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,285 @@
|
|
1
|
+
|
2
|
+
.. _changelog-0.0.18:
|
3
|
+
|
4
|
+
0.0.18 — 2025-01-10
|
5
|
+
-------------------
|
6
|
+
|
7
|
+
Added
|
8
|
+
^^^^^
|
9
|
+
|
10
|
+
- Control parameter to calculate SC current, superfluid weight and free energy in scf calculation
|
11
|
+
.. SPDX-FileCopyrightText: 2024 Tjark Sievers
|
12
|
+
..
|
13
|
+
.. SPDX-License-Identifier: MIT
|
14
|
+
|
15
|
+
.. _changelog-0.0.17:
|
16
|
+
|
17
|
+
0.0.17 — 2025-01-10
|
18
|
+
-------------------
|
19
|
+
|
20
|
+
Added
|
21
|
+
^^^^^
|
22
|
+
|
23
|
+
- Method to calculate free energy for a given hamiltonian
|
24
|
+
|
25
|
+
- Method to calculate current density for a given Hamiltonian
|
26
|
+
|
27
|
+
Changed
|
28
|
+
^^^^^^^
|
29
|
+
|
30
|
+
- Speedup of calculation of superfluid weight via caching of intermediate values
|
31
|
+
|
32
|
+
Fixed
|
33
|
+
^^^^^
|
34
|
+
|
35
|
+
- Sign in calculation of superfluid weight
|
36
|
+
|
37
|
+
.. _changelog-0.0.16:
|
38
|
+
|
39
|
+
0.0.16 — 2024-11-22
|
40
|
+
-------------------
|
41
|
+
|
42
|
+
Fixed
|
43
|
+
^^^^^
|
44
|
+
|
45
|
+
- Fit for critical temperatures
|
46
|
+
|
47
|
+
.. _changelog-0.0.15:
|
48
|
+
|
49
|
+
0.0.15 — 2024-11-21
|
50
|
+
-------------------
|
51
|
+
|
52
|
+
Fixed
|
53
|
+
^^^^^
|
54
|
+
|
55
|
+
- Fixed some cases of the crit_temp routine going into the wrong direction
|
56
|
+
|
57
|
+
.. _changelog-0.0.14:
|
58
|
+
|
59
|
+
0.0.14 — 2024-11-20
|
60
|
+
-------------------
|
61
|
+
|
62
|
+
Changed
|
63
|
+
^^^^^^^
|
64
|
+
|
65
|
+
- crit-temp routine now saves a sample Hamiltonian besides the critical temperatures
|
66
|
+
|
67
|
+
Fixed
|
68
|
+
^^^^^
|
69
|
+
|
70
|
+
- Search for T_C bounds, so that it does not loop anymore in certain cases
|
71
|
+
|
72
|
+
.. _changelog-0.0.13:
|
73
|
+
|
74
|
+
0.0.13 — 2024-11-19
|
75
|
+
-------------------
|
76
|
+
|
77
|
+
Added
|
78
|
+
^^^^^
|
79
|
+
|
80
|
+
- Routine to search for transition temperature
|
81
|
+
|
82
|
+
.. _changelog-0.0.12:
|
83
|
+
|
84
|
+
0.0.12 — 2024-11-09
|
85
|
+
-------------------
|
86
|
+
|
87
|
+
Changed
|
88
|
+
^^^^^^^
|
89
|
+
|
90
|
+
- Use numpy allclose function in covergence criterium
|
91
|
+
|
92
|
+
.. _changelog-0.0.11:
|
93
|
+
|
94
|
+
0.0.11 — 2024-11-08
|
95
|
+
-------------------
|
96
|
+
|
97
|
+
Changed
|
98
|
+
^^^^^^^
|
99
|
+
|
100
|
+
- Option to set maximum number of iterations in self-consistency loop
|
101
|
+
|
102
|
+
- 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
|
103
|
+
|
104
|
+
.. _changelog-0.0.10:
|
105
|
+
|
106
|
+
0.0.10 — 2024-11-06
|
107
|
+
-------------------
|
108
|
+
|
109
|
+
Added
|
110
|
+
^^^^^
|
111
|
+
|
112
|
+
- Gap equation at zero temperature
|
113
|
+
|
114
|
+
- Proper logging and debug mode
|
115
|
+
|
116
|
+
Fixed
|
117
|
+
^^^^^
|
118
|
+
|
119
|
+
- Typing in Hamiltonian classes, so the from_file method returns the corresponding subclass
|
120
|
+
|
121
|
+
.. _changelog-0.0.9:
|
122
|
+
|
123
|
+
0.0.9 — 2024-10-28
|
124
|
+
------------------
|
125
|
+
|
126
|
+
Changed
|
127
|
+
^^^^^^^
|
128
|
+
|
129
|
+
- Save all simulation parameters into the output file
|
130
|
+
|
131
|
+
- Restructured mean_field Hamiltonian classes, so more functionality is concentrated in the base class
|
132
|
+
|
133
|
+
Fixed
|
134
|
+
^^^^^
|
135
|
+
|
136
|
+
- Fixed mistake in gap equation: had the algebra wrong, leading to the self-consistency not converging correctly
|
137
|
+
|
138
|
+
.. _changelog-0.0.8:
|
139
|
+
|
140
|
+
0.0.8 — 2024-10-23
|
141
|
+
------------------
|
142
|
+
|
143
|
+
Removed
|
144
|
+
^^^^^^^
|
145
|
+
|
146
|
+
- Functions to calculate free energy, as they are not needed anymore with the new self-consistency solver
|
147
|
+
|
148
|
+
Added
|
149
|
+
^^^^^
|
150
|
+
|
151
|
+
- Command-line-interface to run input files
|
152
|
+
|
153
|
+
- Finite momentum pairing into BdG Hamiltonian and self-consistency
|
154
|
+
|
155
|
+
- Finite momentum pairing into input file
|
156
|
+
|
157
|
+
- Function in Hamiltonian to calculate spectral gap from DOS
|
158
|
+
|
159
|
+
Changed
|
160
|
+
^^^^^^^
|
161
|
+
|
162
|
+
- Put Hamiltonians into subpackage under mean_field
|
163
|
+
|
164
|
+
Fixed
|
165
|
+
^^^^^
|
166
|
+
|
167
|
+
- Take lattice as argument in self-consistency, dont use Graphene lattice as default
|
168
|
+
|
169
|
+
.. _changelog-0.0.7:
|
170
|
+
|
171
|
+
0.0.7 — 2024-10-15
|
172
|
+
------------------
|
173
|
+
|
174
|
+
Added
|
175
|
+
^^^^^
|
176
|
+
|
177
|
+
- Function to calculate density of states from bands
|
178
|
+
|
179
|
+
Changed
|
180
|
+
^^^^^^^
|
181
|
+
|
182
|
+
- Multiply out phase factor of first entry in gap equation
|
183
|
+
|
184
|
+
Fixed
|
185
|
+
^^^^^
|
186
|
+
|
187
|
+
- Sum over bands for calculation of quantum metric in normal state as well
|
188
|
+
|
189
|
+
.. _changelog-0.0.6:
|
190
|
+
|
191
|
+
0.0.6 — 2024-10-07
|
192
|
+
------------------
|
193
|
+
|
194
|
+
Added
|
195
|
+
^^^^^
|
196
|
+
|
197
|
+
- Class bundling all aspects concerning lattice geometry
|
198
|
+
|
199
|
+
- Plotting methods for superfluid weight and quantum metric
|
200
|
+
|
201
|
+
- Proper self-consistent calculation of gap
|
202
|
+
|
203
|
+
- Implemented finite temperature into self-consistency calculation
|
204
|
+
|
205
|
+
- One band tight binding Hamiltonian
|
206
|
+
|
207
|
+
Changed
|
208
|
+
^^^^^^^
|
209
|
+
|
210
|
+
- Moved formatting of plots into a separate method
|
211
|
+
|
212
|
+
- Renamed variables in classes to be consistent and clearer
|
213
|
+
|
214
|
+
.. _changelog-0.0.5:
|
215
|
+
|
216
|
+
0.0.5 — 2024-08-27
|
217
|
+
------------------
|
218
|
+
|
219
|
+
Fixed
|
220
|
+
^^^^^
|
221
|
+
|
222
|
+
- Correct calculation of superfluid weight using the unitary matrix diagonalising the BdG Hamiltonian
|
223
|
+
|
224
|
+
.. _changelog-0.0.4:
|
225
|
+
|
226
|
+
0.0.4 — 2024-07-10
|
227
|
+
------------------
|
228
|
+
|
229
|
+
Added
|
230
|
+
^^^^^
|
231
|
+
|
232
|
+
- Implemented calculation of quantum metric for BdG states
|
233
|
+
|
234
|
+
Changed
|
235
|
+
^^^^^^^
|
236
|
+
|
237
|
+
- Hamiltonian methods now construct matrices in one turn from the whole k point list, this should significantly speed up calculations
|
238
|
+
|
239
|
+
.. _changelog-0.0.3:
|
240
|
+
|
241
|
+
0.0.3 — 2024-07-05
|
242
|
+
------------------
|
243
|
+
|
244
|
+
Added
|
245
|
+
^^^^^
|
246
|
+
|
247
|
+
- Add formula to calculate quantum metric
|
248
|
+
|
249
|
+
Changed
|
250
|
+
^^^^^^^
|
251
|
+
|
252
|
+
- Rename hamiltonians namespace to mean_field
|
253
|
+
|
254
|
+
- Implemented wrappers around the free energy calculation to calculate with a complex, real or uniform (in the orbitals) order parameter
|
255
|
+
|
256
|
+
- Calculate and return all components of the superfluid weight
|
257
|
+
|
258
|
+
.. _changelog-0.0.2:
|
259
|
+
|
260
|
+
0.0.2 — 2024-07-01
|
261
|
+
------------------
|
262
|
+
|
263
|
+
Added
|
264
|
+
^^^^^
|
265
|
+
|
266
|
+
- Can save and read results for a Hamiltonian, including parameters
|
267
|
+
|
268
|
+
- Calculation of superfluid weight
|
269
|
+
|
270
|
+
- Calculation of free energy at zero temperature
|
271
|
+
|
272
|
+
Changed
|
273
|
+
^^^^^^^
|
274
|
+
|
275
|
+
- Put units into plots
|
276
|
+
|
277
|
+
.. _changelog-0.0.1:
|
278
|
+
|
279
|
+
0.0.1 — 2024-05-31
|
280
|
+
------------------
|
281
|
+
|
282
|
+
Added
|
283
|
+
^^^^^
|
284
|
+
|
285
|
+
- 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
|
+
Metadata-Version: 2.4
|
2
2
|
Name: quant-met
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.18
|
4
4
|
Summary: Calculate superconductivity in flat-band systems.
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
Requires-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
Requires-Dist:
|
13
|
-
Requires-Dist:
|
14
|
-
Requires-Dist:
|
15
|
-
Requires-Dist:
|
16
|
-
Requires-Dist:
|
17
|
-
Requires-Dist:
|
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
|
+
[](https://zenodo.org/badge/latestdoi/800628635)
|
32
29
|
[](https://github.com/Ruberhauptmann/quant-met/actions/workflows/unit_tests.yml)
|
33
30
|
[](https://coveralls.io/github/Ruberhauptmann/quant-met?branch=main)
|
34
31
|
[](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
|
-
-
|
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).
|