Skip to content

TerminalMeasurement statement in gemini logical dialect group.Β #608

@weinbe58

Description

@weinbe58

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.

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions