Skip to content

Commit 0b43fa9

Browse files
Commenting decompositions
1 parent 6cf6d8c commit 0b43fa9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • python/quantum-pecos/src/pecos/slr/gen_codes

python/quantum-pecos/src/pecos/slr/gen_codes/gen_qir.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,7 @@ def _create_qgate_call(self, gate: qgate_base.QGate) -> None:
747747
# necessary mappings of parameters and qargs to the decomposed gates from
748748
# the 'source' gate
749749
if qgate_meta.decomposer:
750+
self._builder.comment(f"; Decomposing gate: {gate.sym}")
750751
decomposed_gates = qgate_meta.decomposer(gate)
751752
for decomposed_gate in decomposed_gates:
752753
self._create_qgate_call(decomposed_gate)

0 commit comments

Comments
 (0)