41 lines
1.5 KiB
Plaintext
41 lines
1.5 KiB
Plaintext
---
|
||
title: QubitProperties
|
||
description: API reference for qiskit.providers.QubitProperties
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: class
|
||
python_api_name: qiskit.providers.QubitProperties
|
||
---
|
||
|
||
# QubitProperties
|
||
|
||
<Class id="qiskit.providers.QubitProperties" isDedicatedPage={true} github="https://github.com/Qiskit/qiskit/tree/stable/1.1/qiskit/providers/backend.py#L239-L264" signature="qiskit.providers.QubitProperties(t1=None, t2=None, frequency=None)" modifiers="class">
|
||
Bases: [`object`](https://docs.python.org/3/library/functions.html#object "(in Python v3.12)")
|
||
|
||
A representation of the properties of a qubit on a backend.
|
||
|
||
This class provides the optional properties that a backend can provide for a qubit. These represent the set of qubit properties that Qiskit can currently work with if present. However if your backend provides additional properties of qubits you should subclass this to add additional custom attributes for those custom/additional properties provided by the backend.
|
||
|
||
Create a new [`QubitProperties`](#qiskit.providers.QubitProperties "qiskit.providers.QubitProperties") object.
|
||
|
||
**Parameters**
|
||
|
||
* **t1** – The T1 time for a qubit in seconds
|
||
* **t2** – The T2 time for a qubit in seconds
|
||
* **frequency** – The frequency of a qubit in Hz
|
||
|
||
## Attributes
|
||
|
||
### t1
|
||
|
||
<Attribute id="qiskit.providers.QubitProperties.t1" />
|
||
|
||
### t2
|
||
|
||
<Attribute id="qiskit.providers.QubitProperties.t2" />
|
||
|
||
### frequency
|
||
|
||
<Attribute id="qiskit.providers.QubitProperties.frequency" />
|
||
</Class>
|
||
|