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.
1 parent 2869340 commit 0a93507Copy full SHA for 0a93507
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