About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Quantum Circuit Extensions
qiskit.extensions
Unitary Extensions
UnitaryGate (data[, label]) | Class quantum gates specified by a unitary matrix. |
HamiltonianGate (data, time[, label]) | Class for representing evolution by a Hamiltonian operator as a gate. |
SingleQubitUnitary (unitary_matrix[, mode, ...]) | Single-qubit unitary. |
Simulator Extensions
Snapshot (label[, snapshot_type, num_qubits, ...]) | Simulator snapshot instruction. |
Initialization
Initialize (params[, num_qubits, normalize]) | Complex amplitude initialization. |
Uniformly Controlled Rotations
UCPauliRotGate (angle_list, rot_axis) | Uniformly controlled rotations (also called multiplexed rotations). |
UCRXGate (angle_list) | Uniformly controlled rotations (also called multiplexed rotations). |
UCRYGate (angle_list) | Uniformly controlled rotations (also called multiplexed rotations). |
UCRZGate (angle_list) | Uniformly controlled rotations (also called multiplexed rotations). |
Exceptions
The additional gates in this module will tend to raise a custom exception when they encounter problems.
ExtensionError
exception qiskit.extensions.ExtensionError(*message)
Base class for errors raised by extensions module.
Set the error message.
Was this page helpful?
Report a bug or request content on GitHub.