For shot-based simulation or the usage of multiple runs with updated parameters the simulator state need to be reset.
The QIR runner specifies the __quantum__rt__initialize function to achieve this.
This primitive must be generated by our lowering accordingly. At least, the initialization must precede the first qir dialect operation.
For shot-based simulation or the usage of multiple runs with updated parameters the simulator state need to be reset.
The QIR runner specifies the
__quantum__rt__initializefunction to achieve this.This primitive must be generated by our lowering accordingly. At least, the initialization must precede the first
qirdialect operation.