qiskit-documentation/docs/api/qiskit/0.40/qiskit.providers.QubitPrope...

41 lines
1.3 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
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/0.23/qiskit/providers/backend.py" signature="QubitProperties(t1=None, t2=None, frequency=None)" modifiers="class">
Bases: `object`
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` 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>