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
Currently the type of the result is depended on the QIR submitted. For QIR with the register functions the result type is a bit list (as a string), for QIR without them the result type is a integer (as a string).
Example:
When I record an integer that has been generated by a call of get_int_from_creg I get a result back as a bit string. %9 = call i64 @get_int_from_creg(i1* %2) call void @__quantum__rt__int_record_output(i64 %9, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @2, i32 0, i32 0))
Result:
When I record an integer that has been generated in a different way, I the results as an int. %136 = call i64 @get_c() call void @__quantum__rt__int_record_output(i64 %136, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @1, i32 0, i32 0))
Result:
Currently the type of the result is depended on the QIR submitted. For QIR with the register functions the result type is a bit list (as a string), for QIR without them the result type is a integer (as a string).
Example:
When I record an integer that has been generated by a call of get_int_from_creg I get a result back as a bit string.
%9 = call i64 @get_int_from_creg(i1* %2)
call void @__quantum__rt__int_record_output(i64 %9, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @2, i32 0, i32 0))
Result:
When I record an integer that has been generated in a different way, I the results as an int.
%136 = call i64 @get_c()
call void @__quantum__rt__int_record_output(i64 %136, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @1, i32 0, i32 0))
Result:
Currently discussing on how to solve this.
The text was updated successfully, but these errors were encountered: