Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

Quantum Circuit Extensions

qiskit.extensions


Unitary Extensions

SingleQubitUnitary(unitary_matrix[, mode, ...])Single-qubit unitary.

Simulator Extensions

Snapshot(label[, snapshot_type, num_qubits, ...])Simulator snapshot instruction.

Exceptions

The additional gates in this module will tend to raise a custom exception when they encounter problems.

ExtensionError

exception qiskit.extensions.ExtensionError(*message)

GitHub

Base class for errors raised by extensions module.

Set the error message.

Deprecated since version 0.46.0

The class qiskit.extensions.exceptions.ExtensionError is deprecated as of qiskit 0.46.0. It will be removed in the Qiskit 1.0 release.

Was this page helpful?
Report a bug or request content on GitHub.