We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 566731f commit ca45199Copy full SHA for ca45199
src/bloqade/squin/cirq/lowering.py
@@ -45,7 +45,7 @@ def lower_qubit_getindices(
45
self, state: lowering.State[CirqNode], qids: list[cirq.Qid]
46
):
47
qbits_getitem = [self.lower_qubit_getindex(state, qid) for qid in qids]
48
- qbits_stmt = ilist.New(values=qbits_getitem)
+ qbits_stmt = ilist.New(values=qbits_getitem, elem_type=qubit.QubitType)
49
qbits_result = state.current_frame.get(qbits_stmt.name)
50
51
if qbits_result is not None:
0 commit comments