Skip to content

Commit

Permalink
docs: Fix usage of parametrized rxy in doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Sep 19, 2024
1 parent b0fcc90 commit aef6af4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/source/main-documentation/qibolab.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ as these are loaded automatically from the platform, as defined in the correspon
qubit = platform.qubits[0]
natives = platform.natives.single_qubit[0]
ps.concatenate(natives.RX())
ps.concatenate(natives.RX(phi=np.pi / 2))
ps.concatenate(natives.RXY(phi=np.pi / 2))
ps.append((qubit.probe, Delay(duration=200)))
ps.concatenate(natives.MZ())

Expand Down
2 changes: 1 addition & 1 deletion doc/source/tutorials/pulses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ Alternatively, instead of using the pulse API directly, one can use the native g

platform = create_platform("dummy")
q0 = platform.natives.single_qubit[0]
sequence = q0.RX(theta=np.pi / 2) | q0.MZ()
sequence = q0.RXY(theta=np.pi / 2) | q0.MZ()

0 comments on commit aef6af4

Please sign in to comment.