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.

exception qiskit.extensions.ExtensionError(*message)[source]

Base class for errors raised by extensions module.

Set the error message.

Deprecated since version 0.45.0_pending: The class qiskit.extensions.exceptions.ExtensionError is pending deprecation as of qiskit 0.45.0. It will be marked deprecated in a future release, and then removed no earlier than 3 months after the release date.