quant-met 0.0.21__py3-none-any.whl → 0.0.23__py3-none-any.whl

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/cli/dmft.py CHANGED
@@ -43,7 +43,7 @@ def dmft_scf(parameters: Parameters) -> None:
43
43
  h0_nambu_k[k][:n_orbitals, :n_orbitals] = enk(k)
44
44
  h0_nambu_k[k][n_orbitals:, n_orbitals:] = -enk(-k)
45
45
 
46
- xmu = h.hubbard_int_orbital_basis[0] / 2
46
+ xmu = -h.hubbard_int_orbital_basis[0] / 2
47
47
 
48
48
  solver = dmft_loop(
49
49
  tbl=tbl,
@@ -9,12 +9,12 @@ from itertools import product
9
9
 
10
10
  import numpy as np
11
11
  import numpy.typing as npt
12
+ from edipack2triqs.fit import BathFittingParams
13
+ from edipack2triqs.solver import EDIpackSolver
12
14
  from triqs.gf import BlockGf, Gf, MeshBrZone
13
15
  from triqs.lattice.tight_binding import TBLattice
14
16
  from triqs.operators import c, c_dag, dagger, n
15
17
 
16
- from edipack2triqs.fit import BathFittingParams
17
- from edipack2triqs.solver import EDIpackSolver
18
18
  from quant_met.mean_field.hamiltonians import BaseHamiltonian
19
19
  from quant_met.parameters import GenericParameters
20
20
 
@@ -714,7 +714,7 @@ class BaseHamiltonian(Generic[GenericParameters], ABC):
714
714
  bdg_functions[i, m].conjugate()
715
715
  * bdg_functions[j, n]
716
716
  * bdg_functions[j, p].conjugate()
717
- * bdg_functions[i, q].conjugate()
717
+ * bdg_functions[i, q]
718
718
  )
719
719
 
720
720
  c_mnpq[m, n, p, q] = 2 * c_tmp
@@ -763,7 +763,7 @@ class BaseHamiltonian(Generic[GenericParameters], ABC):
763
763
  k=k, direction=direction_2
764
764
  )
765
765
  for k_index in range(len(k)):
766
- for n in [i for i in range(self.number_of_bands) if i != band]:
766
+ for n in [m for m in range(self.number_of_bands) if m != band]:
767
767
  quantum_geom_tensor[i, j] += (
768
768
  (
769
769
  bloch[k_index][:, band].conjugate()
@@ -20,12 +20,7 @@ Functions
20
20
  plot_superfluid_weight
21
21
  """ # noqa: D205, D400
22
22
 
23
- from .plotting import (
24
- format_plot,
25
- plot_bandstructure,
26
- plot_superfluid_weight,
27
- scatter_into_bz,
28
- )
23
+ from .plotting import format_plot, plot_bandstructure, plot_superfluid_weight, scatter_into_bz
29
24
 
30
25
  __all__ = [
31
26
  "format_plot",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quant-met
3
- Version: 0.0.21
3
+ Version: 0.0.23
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
@@ -3,11 +3,11 @@ quant_met/utils.py,sha256=J3kCbKg0tPEoGJExX04QwifHn4ch482J8IcmRQxIfP4,2067
3
3
  quant_met/cli/__init__.py,sha256=nGFXhK8zWyEKQtsQTyJWfEOLFOHTCjZnfEcrVb2dARc,254
4
4
  quant_met/cli/_utils.py,sha256=vGXWDXqs15F4MiU-gRk4lHdmP7FB8vQQXuvbx-sesyE,1952
5
5
  quant_met/cli/crit_temp.py,sha256=t9sPZKORl6dpa1UNAOMH2gDmeQxf80iFH7p_L3FI5q8,2027
6
- quant_met/cli/dmft.py,sha256=4sbTddeHhTxV0DBUNxcQDUBxQe1J9ntqnEQOLluHh1o,3016
6
+ quant_met/cli/dmft.py,sha256=Wvh1aeJaHhrW9gttI05VaUQqDFhSMWrhLgIrZJ9Hmbs,3017
7
7
  quant_met/cli/main.py,sha256=1D1-KhGkzibts9b7Cv3JsR5Q-PnkowBWKE1Owc8tdD8,2010
8
8
  quant_met/cli/scf.py,sha256=3_rwtQHwypFjAwjrsO2r2sqjJKpNiDLAj6svU52CCcU,2613
9
9
  quant_met/dmft/__init__.py,sha256=2H0bN40Tvn-VnZgix6MugN0Q6iNwD_9AQxUC_LVLh70,99
10
- quant_met/dmft/dmft_loop.py,sha256=R3lYIhUNtBVa_XyjUphZchTAeG3gWXbR1leLz0EhP2A,5738
10
+ quant_met/dmft/dmft_loop.py,sha256=N5EmcwV08cHumhtgMjwE4DUuhJnkIoBoyMsf5lrw0IY,5738
11
11
  quant_met/dmft/utils.py,sha256=z9Y9EP_V8_Bj7NIvz_GSnaQ7tha7QwqtJsEYhKIEoxQ,2897
12
12
  quant_met/geometry/__init__.py,sha256=2N8l0-2-PhEOQxaUO7e8Dqy5oaxt2y9343XENDTCGPE,592
13
13
  quant_met/geometry/base_lattice.py,sha256=OJNDMyzJB-0hK1BLgF-SV4jUYfOSUksIv1XG1bH-zyY,2649
@@ -19,7 +19,7 @@ quant_met/mean_field/_utils.py,sha256=7hr0DDSdIqjft5Jjluvbw_HGoNLWgYJTxyuPJJvhBn
19
19
  quant_met/mean_field/search_crit_temp.py,sha256=Z9te3O7zsyBGLRrPjmNA85vxHOfBfIQ7svdDVFEJedg,8782
20
20
  quant_met/mean_field/self_consistency.py,sha256=YY_zhCurxOK3RLkK-Hglfkx33uhsvqpoAKOP4FuPdfo,3371
21
21
  quant_met/mean_field/hamiltonians/__init__.py,sha256=r-8TaLqRnRbAro-TMIyxzCCZHwVqyKrausODpQJb2tw,681
22
- quant_met/mean_field/hamiltonians/base_hamiltonian.py,sha256=4sp2LD213-6aNpbEQAgclJEWOdZdTpDf5QwkgigD0f0,29383
22
+ quant_met/mean_field/hamiltonians/base_hamiltonian.py,sha256=xoSpPy5qUXN3jCB6M6mh9oshDPLFfw8kbWBo1VsGGUw,29371
23
23
  quant_met/mean_field/hamiltonians/dressed_graphene.py,sha256=Q5LiA3rgK88ZZV1V7JflgjlkEpve7uNZFzFCIoQND-w,4048
24
24
  quant_met/mean_field/hamiltonians/graphene.py,sha256=sa3H8jVq9Fkc_qcz5gJTCMgN8YD3N18JWLRBImhLyxo,3276
25
25
  quant_met/mean_field/hamiltonians/one_band_tight_binding.py,sha256=DZXaD95yWv1VZSMqgxkqEZv3PGihNGy7PuqupnN75ew,2512
@@ -28,10 +28,10 @@ quant_met/mean_field/hamiltonians/two_band_tight_binding.py,sha256=DMySc94YQ1M2n
28
28
  quant_met/parameters/__init__.py,sha256=9yu7i0J-O3QxSicnLEh2ci7FSMwB8bPW0pbl8KWHJUs,1007
29
29
  quant_met/parameters/hamiltonians.py,sha256=PiWVV-miCdT4Z9GWloDVvIU_1QpRHHV-zVOga7DWwCw,6046
30
30
  quant_met/parameters/main.py,sha256=QP7Z24-QePMcy6txujqxbx5ztQTdC67m6elNsJtGtXQ,2325
31
- quant_met/plotting/__init__.py,sha256=VypHrLAGmCiQaQggGh5Cs4EF4YAjRiETddf_7mOX9MQ,544
31
+ quant_met/plotting/__init__.py,sha256=IDgV6juJ0VfcJHppD-vnPH6w8wVuAC35eSeLxKzqyBc,523
32
32
  quant_met/plotting/plotting.py,sha256=4ZYclWJH3hlE8S7b7bL_JJlP3CKaCGcVzdIsqolCAaM,6592
33
- quant_met-0.0.21.dist-info/METADATA,sha256=cyCRB0PAwVRHwgPFcI7WZBtlubWfvgZoJDq0hKZNSrc,1978
34
- quant_met-0.0.21.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
35
- quant_met-0.0.21.dist-info/entry_points.txt,sha256=1Al3Kt-cMeQxwMp84ZSNL0qFwlbOVBu1o8A19MH8lEU,48
36
- quant_met-0.0.21.dist-info/licenses/LICENSE.txt,sha256=QO_duPQihSJlaxSLxPAXo52X3esROP5wBkhxqBd1Z4E,1104
37
- quant_met-0.0.21.dist-info/RECORD,,
33
+ quant_met-0.0.23.dist-info/METADATA,sha256=BbEabzGecrsI-bBaE4_1sLPXY3OUXUuedHcLfybvb1U,1978
34
+ quant_met-0.0.23.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
35
+ quant_met-0.0.23.dist-info/entry_points.txt,sha256=1Al3Kt-cMeQxwMp84ZSNL0qFwlbOVBu1o8A19MH8lEU,48
36
+ quant_met-0.0.23.dist-info/licenses/LICENSE.txt,sha256=QO_duPQihSJlaxSLxPAXo52X3esROP5wBkhxqBd1Z4E,1104
37
+ quant_met-0.0.23.dist-info/RECORD,,