---
title: extensions (v0.46)
description: API reference for qiskit.extensions in qiskit v0.46
source: https://eu-de.quantum.cloud.ibm.com/docs/en/api/qiskit/0.46/extensions
---

# Quantum Circuit Extensions

`qiskit.extensions`

## Unitary Extensions

|                                                                                                                                                          |                       |
| -------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
| [`SingleQubitUnitary`](/docs/api/qiskit/0.46/qiskit.extensions.SingleQubitUnitary "qiskit.extensions.SingleQubitUnitary")(unitary\_matrix\[, mode, ...]) | Single-qubit unitary. |

## Simulator Extensions

|                                                                                                                                         |                                 |
| --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------- |
| [`Snapshot`](/docs/api/qiskit/0.46/qiskit.extensions.Snapshot "qiskit.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](https://github.com/qiskit/qiskit/tree/stable/0.46/qiskit/extensions/exceptions.py)

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.
