QPanda3  0.1.2
Supported by OriginQ
Loading...
Searching...
No Matches
pyqpanda3.qcloud.SingleQubitInfo Class Reference

Public Member Functions

None __init__ (self)
 init(self: qcloud.SingleQubitInfo) -> None
 
float get_frequency (self)
 get_frequency(self: qcloud.SingleQubitInfo) -> float
 
str get_qubit_id (self)
 get_qubit_id(self: qcloud.SingleQubitInfo) -> str
 
float get_readout_fidelity (self)
 get_readout_fidelity(self: qcloud.SingleQubitInfo) -> float
 
float get_single_gate_fidelity (self)
 get_single_gate_fidelity(self: qcloud.SingleQubitInfo) -> float
 
float get_t1 (self)
 get_t1(self: qcloud.SingleQubitInfo) -> float
 
float get_t2 (self)
 get_t2(self: qcloud.SingleQubitInfo) -> float
 

Constructor & Destructor Documentation

◆ __init__()

None pyqpanda3.qcloud.SingleQubitInfo.__init__ ( self)

init(self: qcloud.SingleQubitInfo) -> None

Member Function Documentation

◆ get_frequency()

float pyqpanda3.qcloud.SingleQubitInfo.get_frequency ( self)

get_frequency(self: qcloud.SingleQubitInfo) -> float

Retrieves the frequency of the qubit.

Returns
The qubit frequency as a double.

◆ get_qubit_id()

str pyqpanda3.qcloud.SingleQubitInfo.get_qubit_id ( self)

get_qubit_id(self: qcloud.SingleQubitInfo) -> str

Retrieves the ID of the qubit.

Returns
The qubit ID as a string.

◆ get_readout_fidelity()

float pyqpanda3.qcloud.SingleQubitInfo.get_readout_fidelity ( self)

get_readout_fidelity(self: qcloud.SingleQubitInfo) -> float

Retrieves the readout fidelity of the qubit.

Returns
The readout fidelity as a double.

◆ get_single_gate_fidelity()

float pyqpanda3.qcloud.SingleQubitInfo.get_single_gate_fidelity ( self)

get_single_gate_fidelity(self: qcloud.SingleQubitInfo) -> float

Retrieves the fidelity of the single gate for this qubit.

Returns
The single gate fidelity as a double.

◆ get_t1()

float pyqpanda3.qcloud.SingleQubitInfo.get_t1 ( self)

get_t1(self: qcloud.SingleQubitInfo) -> float

Retrieves the T1 relaxation time of the qubit.

Returns
The T1 relaxation time as a double.

◆ get_t2()

float pyqpanda3.qcloud.SingleQubitInfo.get_t2 ( self)

get_t2(self: qcloud.SingleQubitInfo) -> float

Retrieves the T2 coherence time of the qubit.

Returns
The T2 coherence time as a double.

The documentation for this class was generated from the following file: