Skip to content

Commit

Permalink
Update src/qibojit/backends/cpu.py
Browse files Browse the repository at this point in the history
Co-authored-by: Matteo Robbiati <62071516+MatteoRobbiati@users.noreply.github.com>
  • Loading branch information
renatomello and MatteoRobbiati committed Aug 14, 2024
1 parent 1eaf119 commit 0f92865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibojit/backends/cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def _as_custom_matrix(self, gate):

if isinstance(gate, ParametrizedGate):
if name == "GeneralizedRBS": # pragma: no cover
# this is tests in qibo tests
# this is tested in qibo tests
theta = gate.init_kwargs["theta"]
phi = gate.init_kwargs["phi"]
return _matrix(gate.init_args[0], gate.init_args[1], theta, phi)
Expand Down

0 comments on commit 0f92865

Please sign in to comment.