Skip to content

Commit 396cb0c

Browse files
Simplify tfim_model_fit.py
1 parent fd5b2d6 commit 396cb0c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

scripts/tfim_model_fit.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -381,12 +381,6 @@ def main():
381381
tot_n = 0
382382
for q in range(n_qubits + 1):
383383
n = 1 / ((n_qubits + 1) * (2 ** (p * q)))
384-
if n == float("inf"):
385-
tot_n = 1
386-
bias = []
387-
bias.append(1)
388-
bias = n_qubits * [0]
389-
break
390384
bias.append(n)
391385
tot_n += n
392386
# Normalize the results for 1.0 total marginal probability.

0 commit comments

Comments
 (0)