Skip to content

Commit

Permalink
line length (linter)
Browse files Browse the repository at this point in the history
  • Loading branch information
majafranz committed Oct 16, 2024
1 parent 5eb98fb commit bfa28da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/fromhopetoheuristics/pipelines/adiabatic_maxcut/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ def run_maxcut_annealing(
)
first = True
for n in range(4, maxcut_max_qubits + 1):
log.info(f"Computing spectral gaps for QUBO with n={n} of {maxcut_max_qubits}")
log.info(
f"Computing spectral gaps for QUBO with n={n} of "
"{maxcut_max_qubits}"
)
for density in np.linspace(0.5, 1, num=6, endpoint=True):
log.info(f"\twith density={density}")
maxcut_annealing(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ def run_track_reconstruction_annealing(

for i, qubo in enumerate(qubos):
if qubo is not None:
log.info(f"Computing spectral gaps for QUBO {i+1}/{len(qubos)} (n={len(qubo)})")
log.info(
f"Computing spectral gaps for QUBO {i+1}/{len(qubos)} "
f"(n={len(qubo)})"
)
track_reconstruction_annealing(
qubo,
seed,
Expand Down

0 comments on commit bfa28da

Please sign in to comment.