A common use of the qml.PauliX
to
initialize the qubit's state to qml.QubitUnitary
to apply the provided unitary U
.
The PauliX
operation is a non-parametrized gate, meaning to call it in PennyLane,
all we need to do is specify the wires:
qml.PauliX(wires=wire)
To interact with codercises, please switch to a larger screen size.
Learning Objectives: