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
I currently have no error handling logic for failed compute operations.
I presume that I'd want the .compute() method on each client to return Union[AtomicInput, FailedOperation] and to properly construct a FailedOperation result if the input was rejected or caused the server to crash.
Currently this isn't a big deal in QCEngine because exceptions are handled by the .compute() wrapper. However, if I want a nicer interface for end users of the tcpb-client package returning a FailedOperation object would be more QCSchema compliant.
The text was updated successfully, but these errors were encountered:
I currently have no error handling logic for failed compute operations.
I presume that I'd want the
.compute()
method on each client to returnUnion[AtomicInput, FailedOperation]
and to properly construct aFailedOperation
result if the input was rejected or caused the server to crash.Currently this isn't a big deal in
QCEngine
because exceptions are handled by the.compute()
wrapper. However, if I want a nicer interface for end users of thetcpb-client
package returning aFailedOperation
object would be moreQCSchema
compliant.The text was updated successfully, but these errors were encountered: