Skip to content

Commit

Permalink
undo docstring change: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
purva-thakre committed Nov 14, 2023
1 parent 9df2816 commit dafe5bf
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ def test_cb_trace_norm_CP():


def test_cb_trace_norm_unitaries_channel():
"""The diamond norm of phi = id- U id U* is the diameter of the smallest circle
that contains the eigenvalues of U."""
"""The diamond norm of phi = id- U id U* is the diameter of the smallest circle that contains the eigenvalues of U."""
U = 1 / np.sqrt(2) * np.array([[1, 1], [-1, 1]]) # Hadamard gate
phi = kraus_to_choi([[np.eye(2), np.eye(2)], [U, -U]])
lam, _ = np.linalg.eig(U)
Expand Down

0 comments on commit dafe5bf

Please sign in to comment.