Skip to content

Commit

Permalink
self -> GateWithRegisters
Browse files Browse the repository at this point in the history
  • Loading branch information
anurudhp committed Sep 30, 2024
1 parent ada45fb commit c48caa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qualtran/_infra/gate_with_registers.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ def controlled(
Returns:
A controlled version of the bloq.
"""
ctrl_spec = self._get_ctrl_spec(
ctrl_spec = GateWithRegisters._get_ctrl_spec(
num_controls, control_values, control_qid_shape, ctrl_spec=ctrl_spec
)
controlled_bloq, _ = self.get_ctrl_system(ctrl_spec=ctrl_spec)
Expand Down

0 comments on commit c48caa9

Please sign in to comment.