We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd5b2d6 commit 396cb0cCopy full SHA for 396cb0c
scripts/tfim_model_fit.py
@@ -381,12 +381,6 @@ def main():
381
tot_n = 0
382
for q in range(n_qubits + 1):
383
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
390
bias.append(n)
391
tot_n += n
392
# Normalize the results for 1.0 total marginal probability.
0 commit comments