You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QPU allows execution_options to be set on both the class instance itself (self.execution_options) or on the .execute request(execution_options arg). It follows the right precedence order when calling submit, but does not consider self.execution_options in the construction of QPUExecuteResponse (here).
One effect of this: if get_qc() is invoked with an endpoint_id, that endpoint is not used for results retrieval, and pyQuil tries to use the default instead (gateway). If no such gateway exists, then results retrieval fails.
This can be quickly fixed, and should be covered with a new test.
The text was updated successfully, but these errors were encountered:
QPU
allowsexecution_options
to be set on both the class instance itself (self.execution_options
) or on the.execute
request(execution_options
arg). It follows the right precedence order when callingsubmit
, but does not considerself.execution_options
in the construction ofQPUExecuteResponse
(here).One effect of this: if
get_qc()
is invoked with anendpoint_id
, that endpoint is not used for results retrieval, and pyQuil tries to use the default instead (gateway). If no such gateway exists, then results retrieval fails.This can be quickly fixed, and should be covered with a new test.
The text was updated successfully, but these errors were encountered: