qiskit-documentation/docs/api/qiskit/0.29/extensions.mdx

38 lines
2.1 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: extensions (v0.29)
description: API reference for qiskit.extensions in qiskit v0.29
in_page_toc_min_heading_level: 2
python_api_type: module
python_api_name: qiskit.extensions
---
<span id="module-qiskit.extensions" />
<span id="qiskit-extensions" />
<span id="quantum-circuit-extensions-qiskit-extensions" />
# Quantum Circuit Extensions
`qiskit.extensions`
## Unitary Extensions
| | |
| ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| [`UnitaryGate`](qiskit.extensions.UnitaryGate "qiskit.extensions.UnitaryGate")(data\[, label]) | Class for representing unitary gates |
| [`HamiltonianGate`](qiskit.extensions.HamiltonianGate "qiskit.extensions.HamiltonianGate")(data, time\[, label]) | Class for representing evolution by a Hermitian Hamiltonian operator as a gate. |
## Simulator Extensions
| | |
| --------------------------------------------------------------------------------------------------------------- | ------------------------------- |
| [`Snapshot`](qiskit.extensions.Snapshot "qiskit.extensions.Snapshot")(label\[, snapshot\_type, num\_qubits, …]) | Simulator snapshot instruction. |
## Initialization
| | |
| --------------------------------------------------------------------------------------------------- | --------------------------------- |
| [`Initialize`](qiskit.extensions.Initialize "qiskit.extensions.Initialize")(params\[, num\_qubits]) | Complex amplitude initialization. |