150 lines
4.3 KiB
Plaintext
150 lines
4.3 KiB
Plaintext
---
|
||
title: FakeQuito
|
||
description: API reference for qiskit.providers.fake_provider.FakeQuito
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: class
|
||
python_api_name: qiskit.providers.fake_provider.FakeQuito
|
||
---
|
||
|
||
# FakeQuito
|
||
|
||
<Class id="qiskit.providers.fake_provider.FakeQuito" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.22/qiskit/providers/fake_provider/backends/quito/fake_quito.py" signature="FakeQuito" modifiers="class">
|
||
Bases: `qiskit.providers.fake_provider.fake_pulse_backend.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
|
||
|
||
### configuration
|
||
|
||
<Function id="qiskit.providers.fake_provider.FakeQuito.configuration" signature="FakeQuito.configuration()">
|
||
Return the backend configuration.
|
||
|
||
**Returns**
|
||
|
||
the configuration for the backend.
|
||
|
||
**Return type**
|
||
|
||
[BackendConfiguration](qiskit.providers.models.BackendConfiguration "qiskit.providers.models.BackendConfiguration")
|
||
</Function>
|
||
|
||
### defaults
|
||
|
||
<Function id="qiskit.providers.fake_provider.FakeQuito.defaults" signature="FakeQuito.defaults()">
|
||
Returns a snapshot of device defaults
|
||
</Function>
|
||
|
||
### name
|
||
|
||
<Function id="qiskit.providers.fake_provider.FakeQuito.name" signature="FakeQuito.name()">
|
||
Return the backend name.
|
||
|
||
**Returns**
|
||
|
||
the name of the backend.
|
||
|
||
**Return type**
|
||
|
||
str
|
||
</Function>
|
||
|
||
### properties
|
||
|
||
<Function id="qiskit.providers.fake_provider.FakeQuito.properties" signature="FakeQuito.properties()">
|
||
Returns a snapshot of device properties
|
||
</Function>
|
||
|
||
### provider
|
||
|
||
<Function id="qiskit.providers.fake_provider.FakeQuito.provider" signature="FakeQuito.provider()">
|
||
Return the backend Provider.
|
||
|
||
**Returns**
|
||
|
||
the Provider responsible for the backend.
|
||
|
||
**Return type**
|
||
|
||
[Provider](qiskit.providers.Provider "qiskit.providers.Provider")
|
||
</Function>
|
||
|
||
### run
|
||
|
||
<Function id="qiskit.providers.fake_provider.FakeQuito.run" signature="FakeQuito.run(run_input, **kwargs)">
|
||
Main job in simulator
|
||
</Function>
|
||
|
||
### set\_options
|
||
|
||
<Function id="qiskit.providers.fake_provider.FakeQuito.set_options" signature="FakeQuito.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>
|
||
|
||
### status
|
||
|
||
<Function id="qiskit.providers.fake_provider.FakeQuito.status" signature="FakeQuito.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.FakeQuito.backend_name" attributeValue="'fake_quito'" />
|
||
|
||
### conf\_filename
|
||
|
||
<Attribute id="qiskit.providers.fake_provider.FakeQuito.conf_filename" attributeValue="'conf_quito.json'" />
|
||
|
||
### defs\_filename
|
||
|
||
<Attribute id="qiskit.providers.fake_provider.FakeQuito.defs_filename" attributeValue="'defs_quito.json'" />
|
||
|
||
### dirname
|
||
|
||
<Attribute id="qiskit.providers.fake_provider.FakeQuito.dirname" attributeValue="'/home/runner/work/qiskit/qiskit/.tox/docs/lib/python3.8/site-packages/qiskit/providers/fake_provider/backends/quito'" />
|
||
|
||
### options
|
||
|
||
<Attribute id="qiskit.providers.fake_provider.FakeQuito.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.FakeQuito#run "qiskit.providers.fake_provider.FakeQuito.run") method.
|
||
</Attribute>
|
||
|
||
### props\_filename
|
||
|
||
<Attribute id="qiskit.providers.fake_provider.FakeQuito.props_filename" attributeValue="'props_quito.json'" />
|
||
|
||
### version
|
||
|
||
<Attribute id="qiskit.providers.fake_provider.FakeQuito.version" attributeValue="1" />
|
||
</Class>
|
||
|