Q#-Compiler - Fullstate Simulator V1 Output Format
- Adds the
LoadFrom public function to allow the Runtime to load a BitcodeModule from qir bitcode.
- Fixes issue where OutputRecording definitions' parameter construction had mixed up the case where there was no parameters with the case where there were non-zero parameters.
- Replaces TargetCapability with assembly constants dictionary in the
GenerateBitcode and GenerateLlvmIR API parameters so that we can use both the target capability and the process architecture.
- When targeting the Microsoft Full State Simulator (specified by process architecture), runs the Add Output Recording rewrite step.
- Adds the Replace Message Calls transformation to the Add Output Recording rewrite step. This transformation replaces Message references to the API
RecordMessage, which gets translated into the __quantum__rt__message_record_output in QIR.