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

Public Member Functions

None __init__ (self, int arg0)
 init(self: core.CBit, arg0: int) -> None
 
int get_cbit_addr (self)
 get_cbit_addr(self: core.CBit) -> int
 
int __int__ (self)
 int(self: core.CBit) -> int
 

Constructor & Destructor Documentation

◆ __init__()

None pyqpanda3.core.CBit.__init__ ( self,
int arg0 )

init(self: core.CBit, arg0: int) -> None

Initialize a CBit with an address.

Member Function Documentation

◆ __int__()

int pyqpanda3.core.CBit.__int__ ( self)

int(self: core.CBit) -> int

Convert the CBit to its address as an integer.

◆ get_cbit_addr()

int pyqpanda3.core.CBit.get_cbit_addr ( self)

get_cbit_addr(self: core.CBit) -> int

Get the address of the CBit.


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