The corresponding QIS function will probably look like this
declare void @__quantum__qis__rz__body(double, ptr)
Original suggestion (DO NOT IMPLEMENT!)
Originally we wanted an fixed point angle with this format:
declare void @__quantum__qis__rz__body(i32, ptr)
The i32 encodes an angle from the interval $[0,2\pi)$. Although the hardware seems to prefer fixed point value for efficiency the QIR community seems to have settled on floats (see discussion below). This probably introduces some friction, especially with high speed modalities but we handle this in upcoming issues.
The corresponding QIS function will probably look like this
Original suggestion (DO NOT IMPLEMENT!)
Originally we wanted an fixed point angle with this format:
The$[0,2\pi)$ . Although the hardware seems to prefer fixed point value for efficiency the QIR community seems to have settled on floats (see discussion below). This probably introduces some friction, especially with high speed modalities but we handle this in upcoming issues.
i32encodes an angle from the interval