Skip to content

Commit 019b9ee

Browse files
committed
Remove duplicated information in logging.
1 parent 1818581 commit 019b9ee

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

qmb/hubbard.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ def _index(i: int, j: int, o: int) -> int:
8989

9090
def __init__(self, args: ModelConfig):
9191
logging.info("Input arguments successfully parsed")
92-
logging.info("Grid dimensions: width = %d, height = %d", args.m, args.n)
93-
logging.info("t = %.10f, U = %.10f, N = %d", args.t, args.u, args.electron_number)
9492

9593
assert args.electron_number is not None
9694
self.m: int = args.m

qmb/ising.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,6 @@ def _z(i: int, j: int) -> tuple[tuple[tuple[tuple[int, int], ...], complex], ...
195195

196196
def __init__(self, args: ModelConfig) -> None:
197197
logging.info("Input arguments successfully parsed")
198-
logging.info("Grid dimensions: width = %d, height = %d", args.m, args.n)
199-
logging.info("Element-wise coefficients: X = %.10f, Y = %.10f, Z = %.10f", args.x, args.y, args.z)
200-
logging.info("Horizontal bond coefficients: X = %.10f, Y = %.10f, Z = %.10f", args.xh, args.yh, args.zh)
201-
logging.info("Vertical bond coefficients: X = %.10f, Y = %.10f, Z = %.10f", args.xv, args.yv, args.zv)
202-
logging.info("Diagonal bond coefficients: X = %.10f, Y = %.10f, Z = %.10f", args.xd, args.yd, args.zd)
203-
logging.info("Anti-diagonal bond coefficients: X = %.10f, Y = %.10f, Z = %.10f", args.xa, args.ya, args.za)
204198

205199
self.m: int = args.m
206200
self.n: int = args.n

0 commit comments

Comments
 (0)