File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
src/bloqade/gemini/logical Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 1212
1313@statement (dialect = dialect )
1414class TerminalLogicalMeasurement (ir .Statement ):
15+ """Perform measurements on a list of logical qubits.
16+
17+ Measurements are returned as a nested list where each member list
18+ contains the individual measurement results for the constituent physical qubits per logical qubit.
19+
20+ Args:
21+ qubits (IList[QubitType, Len]): The list of logical qubits
22+
23+ Returns:
24+ IList[IList[MeasurementResultType, CodeN], Len]: A nested list containing the measurement results,
25+ where each inner list corresponds to the measurements of the physical qubits that make up each logical qubit.
26+ """
27+
1528 traits = frozenset ({lowering .FromPythonCall ()})
1629 qubits : ir .SSAValue = info .argument (ilist .IListType [QubitType , Len ])
1730 result : ir .ResultValue = info .result (
You can’t perform that action at this time.
0 commit comments