29 lines
1.3 KiB
Plaintext
29 lines
1.3 KiB
Plaintext
---
|
|
title: Provider (v1.2)
|
|
description: API reference for qiskit.providers.Provider in qiskit v1.2
|
|
in_page_toc_min_heading_level: 1
|
|
python_api_type: class
|
|
python_api_name: qiskit.providers.Provider
|
|
---
|
|
|
|
# Provider
|
|
|
|
<Class id="qiskit.providers.Provider" isDedicatedPage={true} github="https://github.com/Qiskit/qiskit/tree/stable/1.2/qiskit/providers/provider.py#L21-L39" signature="qiskit.providers.Provider" modifiers="class">
|
|
Bases: [`object`](https://docs.python.org/3/library/functions.html#object "(in Python v3.13)")
|
|
|
|
Base common type for all versioned Provider abstract classes.
|
|
|
|
Note this class should not be inherited from directly, it is intended to be used for type checking. When implementing a provider you should use the versioned abstract classes as the parent class and not this class directly.
|
|
|
|
<Admonition title="Deprecated since version 1.1" type="danger">
|
|
The class `qiskit.providers.provider.Provider` is deprecated as of qiskit 1.1. It will be removed no earlier than 3 months after the release date. The abstract Provider and ProviderV1 classes are deprecated and will be removed in 2.0. You can just remove it as the parent class and a get\_backend method that returns the backends from self.backend.
|
|
</Admonition>
|
|
|
|
## Attributes
|
|
|
|
### version
|
|
|
|
<Attribute id="qiskit.providers.Provider.version" attributeValue="0" />
|
|
</Class>
|
|
|