We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e782ca5 + 0a93507 commit 93f162dCopy full SHA for 93f162d
qmb/hubbard.py
@@ -58,7 +58,7 @@ class Model(ModelProto[ModelConfig]):
58
59
@classmethod
60
def default_group_name(cls, config: ModelConfig) -> str:
61
- return f"Hubbard_{config.m}x{config.n}_t{config.t}_u{config.u}"
+ return f"Hubbard_{config.m}x{config.n}_t{config.t}_u{config.u}_e{config.electron_number}"
62
63
64
def _prepare_hamiltonian(cls, args: ModelConfig) -> dict[tuple[tuple[int, int], ...], complex]:
0 commit comments