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
We need to add a special measurement statement for gemini logical dialect that indicates the end of the program and stores the results of the measurements.
The signature of this statement should be: TerminalMeasurement(qubits: IList[Qubit,Len]) -> IList[IList[Measurement],Len]
Note that the returning of a nested list of lists is required to return the physical measurements of the logical qubits. That way it is possible to use the annotate dialect to be able to define the physical observables and detectors.
Validation: This statement needs every allocated qubit to be passed into this statement only once.