Skip to content

Add RZ to QIR QIS #41

@rainij

Description

@rainij

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.

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions