QPanda3  0.1.0
Supported by OriginQ
Loading...
Searching...
No Matches
pyqpanda3.core.QMeasure Class Reference

Public Member Functions

None __init__ (self, *args, **kwargs)
 Initialize self.
 
CBit get_cbit (self)
 get_cbit(self: core.QMeasure) -> core.CBit
 
Qubit get_qubit (self)
 get_qubit(self: core.QMeasure) -> core.Qubit
 
list[list[float]] get_read_out_probs (self)
 get_read_out_probs(self: core.QMeasure) -> list[list[float]]
 
str ir_str (self, int max_qbit_idx, int max_cbit_idx)
 ir_str(self: core.QMeasure, max_qbit_idx: int, max_cbit_idx: int) -> str
 
None set_read_out_error (self, list[list[float]] probs)
 set_read_out_error(self: core.QMeasure, probs: list[list[float]]) -> None
 

Constructor & Destructor Documentation

◆ __init__()

None pyqpanda3.core.QMeasure.__init__ ( self,
* args,
** kwargs )

Initialize self.

See help(type(self)) for accurate signature.

Member Function Documentation

◆ get_cbit()

CBit pyqpanda3.core.QMeasure.get_cbit ( self)

get_cbit(self: core.QMeasure) -> core.CBit

◆ get_qubit()

Qubit pyqpanda3.core.QMeasure.get_qubit ( self)

get_qubit(self: core.QMeasure) -> core.Qubit

◆ get_read_out_probs()

list[list[float]] pyqpanda3.core.QMeasure.get_read_out_probs ( self)

get_read_out_probs(self: core.QMeasure) -> list[list[float]]

◆ ir_str()

str pyqpanda3.core.QMeasure.ir_str ( self,
int max_qbit_idx,
int max_cbit_idx )

ir_str(self: core.QMeasure, max_qbit_idx: int, max_cbit_idx: int) -> str

◆ set_read_out_error()

None pyqpanda3.core.QMeasure.set_read_out_error ( self,
list[list[float]] probs )

set_read_out_error(self: core.QMeasure, probs: list[list[float]]) -> None


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