Skip to content

Commit

Permalink
Merge pull request #242 from nonhermitian/reduce-iterative-tol
Browse files Browse the repository at this point in the history
Reduce iterative tolerance to 1e-3
  • Loading branch information
nonhermitian authored Oct 8, 2024
2 parents bc2b7a6 + e05d4ba commit 4f5f92a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mthree/mitigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ def _apply_correction(
distance=None,
method="auto",
max_iter=25,
tol=1e-5,
tol=1e-3,
return_mitigation_overhead=False,
details=False,
):
Expand All @@ -565,7 +565,7 @@ def _apply_correction(
distance (int): Distance to correct for. Default=num_bits
method (str): Solution method: 'auto', 'direct' or 'iterative'.
max_iter (int): Max. number of iterations, Default=25.
tol (float): Convergence tolerance of iterative method, Default=1e-5.
tol (float): Convergence tolerance of iterative method, Default=1e-3.
return_mitigation_overhead (bool): Returns the mitigation overhead, default=False.
details (bool): Return extra info, default=False.
Expand Down

0 comments on commit 4f5f92a

Please sign in to comment.