166 lines
4.8 KiB
Plaintext
166 lines
4.8 KiB
Plaintext
---
|
||
title: FakeLima
|
||
description: API reference for qiskit.providers.fake_provider.FakeLima
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: class
|
||
python_api_name: qiskit.providers.fake_provider.FakeLima
|
||
---
|
||
|
||
# FakeLima
|
||
|
||
<Class id="qiskit.providers.fake_provider.FakeLima" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.24/qiskit/providers/fake_provider/backends/lima/fake_lima.py" signature="FakeLima" modifiers="class">
|
||
Bases: `FakePulseBackend`
|
||
|
||
A fake 5 qubit backend.
|
||
|
||
FakeBackend initializer.
|
||
|
||
**Parameters**
|
||
|
||
* **configuration** ([*BackendConfiguration*](qiskit.providers.models.BackendConfiguration "qiskit.providers.models.BackendConfiguration")) – backend configuration
|
||
* **time\_alive** (*int*) – time to wait before returning result
|
||
|
||
## Methods
|
||
|
||
<span id="qiskit-providers-fake-provider-fakelima-configuration" />
|
||
|
||
### configuration
|
||
|
||
<Function id="qiskit.providers.fake_provider.FakeLima.configuration" signature="FakeLima.configuration()">
|
||
Return the backend configuration.
|
||
|
||
**Returns**
|
||
|
||
the configuration for the backend.
|
||
|
||
**Return type**
|
||
|
||
[BackendConfiguration](qiskit.providers.models.BackendConfiguration "qiskit.providers.models.BackendConfiguration")
|
||
</Function>
|
||
|
||
<span id="qiskit-providers-fake-provider-fakelima-defaults" />
|
||
|
||
### defaults
|
||
|
||
<Function id="qiskit.providers.fake_provider.FakeLima.defaults" signature="FakeLima.defaults()">
|
||
Returns a snapshot of device defaults
|
||
</Function>
|
||
|
||
<span id="qiskit-providers-fake-provider-fakelima-name" />
|
||
|
||
### name
|
||
|
||
<Function id="qiskit.providers.fake_provider.FakeLima.name" signature="FakeLima.name()">
|
||
Return the backend name.
|
||
|
||
**Returns**
|
||
|
||
the name of the backend.
|
||
|
||
**Return type**
|
||
|
||
str
|
||
</Function>
|
||
|
||
<span id="qiskit-providers-fake-provider-fakelima-properties" />
|
||
|
||
### properties
|
||
|
||
<Function id="qiskit.providers.fake_provider.FakeLima.properties" signature="FakeLima.properties()">
|
||
Returns a snapshot of device properties
|
||
</Function>
|
||
|
||
<span id="qiskit-providers-fake-provider-fakelima-provider" />
|
||
|
||
### provider
|
||
|
||
<Function id="qiskit.providers.fake_provider.FakeLima.provider" signature="FakeLima.provider()">
|
||
Return the backend Provider.
|
||
|
||
**Returns**
|
||
|
||
the Provider responsible for the backend.
|
||
|
||
**Return type**
|
||
|
||
[Provider](qiskit.providers.Provider "qiskit.providers.Provider")
|
||
</Function>
|
||
|
||
<span id="qiskit-providers-fake-provider-fakelima-run" />
|
||
|
||
### run
|
||
|
||
<Function id="qiskit.providers.fake_provider.FakeLima.run" signature="FakeLima.run(run_input, **kwargs)">
|
||
Main job in simulator
|
||
</Function>
|
||
|
||
<span id="qiskit-providers-fake-provider-fakelima-set-options" />
|
||
|
||
### set\_options
|
||
|
||
<Function id="qiskit.providers.fake_provider.FakeLima.set_options" signature="FakeLima.set_options(**fields)">
|
||
Set the options fields for the backend
|
||
|
||
This method is used to update the options of a backend. If you need to change any of the options prior to running just pass in the kwarg with the new value for the options.
|
||
|
||
**Parameters**
|
||
|
||
**fields** – The fields to update the options
|
||
|
||
**Raises**
|
||
|
||
**AttributeError** – If the field passed in is not part of the options
|
||
</Function>
|
||
|
||
<span id="qiskit-providers-fake-provider-fakelima-status" />
|
||
|
||
### status
|
||
|
||
<Function id="qiskit.providers.fake_provider.FakeLima.status" signature="FakeLima.status()">
|
||
Return the backend status.
|
||
|
||
**Returns**
|
||
|
||
the status of the backend.
|
||
|
||
**Return type**
|
||
|
||
[BackendStatus](qiskit.providers.models.BackendStatus "qiskit.providers.models.BackendStatus")
|
||
</Function>
|
||
|
||
## Attributes
|
||
|
||
### backend\_name
|
||
|
||
<Attribute id="qiskit.providers.fake_provider.FakeLima.backend_name" attributeValue="'fake_lima'" />
|
||
|
||
### conf\_filename
|
||
|
||
<Attribute id="qiskit.providers.fake_provider.FakeLima.conf_filename" attributeValue="'conf_lima.json'" />
|
||
|
||
### defs\_filename
|
||
|
||
<Attribute id="qiskit.providers.fake_provider.FakeLima.defs_filename" attributeValue="'defs_lima.json'" />
|
||
|
||
### dirname
|
||
|
||
<Attribute id="qiskit.providers.fake_provider.FakeLima.dirname" attributeValue="'/home/computertreker/git/qiskit/qiskit/.tox/docs/lib/python3.8/site-packages/qiskit/providers/fake_provider/backends/lima'" />
|
||
|
||
### options
|
||
|
||
<Attribute id="qiskit.providers.fake_provider.FakeLima.options">
|
||
Return the options for the backend
|
||
|
||
The options of a backend are the dynamic parameters defining how the backend is used. These are used to control the [`run()`](qiskit.providers.fake_provider.FakeLima#run "qiskit.providers.fake_provider.FakeLima.run") method.
|
||
</Attribute>
|
||
|
||
### props\_filename
|
||
|
||
<Attribute id="qiskit.providers.fake_provider.FakeLima.props_filename" attributeValue="'props_lima.json'" />
|
||
|
||
### version
|
||
|
||
<Attribute id="qiskit.providers.fake_provider.FakeLima.version" attributeValue="1" />
|
||
</Class>
|
||
|