Skip to content

Commit

Permalink
remove redundant client load in _wavefunction_simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
MarquessV committed Jul 26, 2023
1 parent 9c18750 commit 63a01b4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pyquil/api/_wavefunction_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ def __init__(
else:
raise TypeError("random_seed should be None or a non-negative int")

if client_configuration is None:
try:
client_configuration = QCSClient.load()
except LoadClientError:
client_configuration = QCSClient()
self.timeout = timeout
self._client = client_configuration or QCSClient.load()

Expand Down

0 comments on commit 63a01b4

Please sign in to comment.