31 lines
932 B
Plaintext
31 lines
932 B
Plaintext
---
|
||
title: active_backend (v0.26)
|
||
description: API reference for qiskit.pulse.builder.active_backend in qiskit v0.26
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: function
|
||
python_api_name: qiskit.pulse.builder.active_backend
|
||
---
|
||
|
||
<span id="qiskit-pulse-builder-active-backend" />
|
||
|
||
# qiskit.pulse.builder.active\_backend
|
||
|
||
<Function id="qiskit.pulse.builder.active_backend" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.17/qiskit/pulse/builder.py" signature="active_backend()">
|
||
Get the backend of the currently active builder context.
|
||
|
||
**Returns**
|
||
|
||
**The active backend in the currently active**
|
||
|
||
builder context.
|
||
|
||
**Return type**
|
||
|
||
Union\[[Backend](qiskit.providers.Backend "qiskit.providers.Backend"), [BaseBackend](qiskit.providers.BaseBackend "qiskit.providers.BaseBackend")]
|
||
|
||
**Raises**
|
||
|
||
**exceptions.BackendNotSet** – If the builder does not have a backend set.
|
||
</Function>
|
||
|