Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/gates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ the same way:

import qcgpu

register = qcgpu.State(2)
state = qcgpu.State(2)

state.h(0) # Applies the Hadamard (H) gate to the first qubit.
state.x(1) # Applies a pauli-x (NOT) gate to the second qubit.
Expand Down