Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
a-matsuo committed Apr 24, 2024
1 parent 6d2e316 commit 4771714
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion qopt_best_practices/cost_function/cost_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""QAOA Cost function utils"""

from collections.abc import Callable, Iterable

import numpy as np
Expand Down Expand Up @@ -77,4 +78,3 @@ def cvar_aggregation(measurements: Iterable[tuple[float, float]]) -> float:
return cvar / alpha

return cvar_aggregation

1 change: 0 additions & 1 deletion qopt_best_practices/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Utils"""


from .graph_utils import build_max_cut_graph, build_max_cut_paulis

__all__ = ["build_max_cut_graph", "build_max_cut_paulis"]

0 comments on commit 4771714

Please sign in to comment.