Should QIS external functions return a value? #16
LaurentAjdnik
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
QIS (Quantum Instructions Set) functions were first introduced with a
void
return type.Should they return a value?
If so, what would this value be?
i1
boolean forsuccess
orerror
?i64
integer out of a predefined list of possible values?i64
integer with specific values enforced by the simulator/backend?Note: It was agreed upon that measurement functions should not return the measurement through this mechanism.
Beta Was this translation helpful? Give feedback.
All reactions