Skip to content

Commit

Permalink
Fix spelling mistake in user guide (#135)
Browse files Browse the repository at this point in the history
indentity should be identity
  • Loading branch information
JMuff22 authored Dec 9, 2024
1 parent a2d5ce9 commit 5bfc177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ support currently has several limitations:

* Only the ``x``, ``y``, ``rx``, ``ry`` and ``r`` gates can be classically controlled.
* The gates can only be conditioned on one classical bit, and the only control available is to
apply the gate if the bit is 1, and apply an indentity gate if the bit is 0.
apply the gate if the bit is 1, and apply an identity gate if the bit is 0.
* The availability of the controlled gates depends on the instrumentation of the quantum computer.

The classical control can be applied on a circuit instruction using :meth:`~qiskit.circuit.Instruction.c_if`:
Expand Down

0 comments on commit 5bfc177

Please sign in to comment.