Skip to content

Commit

Permalink
Lower case PEP 8 convention Update src/qibo/models/dbi/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Pasquale <[email protected]>
  • Loading branch information
marekgluza and andrea-pasquale authored Feb 5, 2024
1 parent b40b137 commit 4f148b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibo/models/dbi/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def select_best_dbr_generator(
return dbi_eval, idx_max_loss, step_optimal, flip


def CS_angle_sgn(dbi_object, d):
def cs_angle_sgn(dbi_object, d):
"""Calculates the sign of Cauchy-Schwarz Angle $$<W(Z), W(canonical)>_{HS}$$"""
norm = np.trace(
np.dot(
Expand Down

0 comments on commit 4f148b8

Please sign in to comment.