QPanda3
0.1.0
Supported by OriginQ
|
Public Member Functions | |
None | __init__ (self, int qubit) |
init(self: core.Qubit, qubit: int) -> None | |
int | get_qubit_addr (self) |
get_qubit_addr(self: core.Qubit) -> int | |
int | __int__ (self) |
int(self: core.Qubit) -> int | |
None pyqpanda3.core.Qubit.__init__ | ( | self, | |
int | qubit ) |
init(self: core.Qubit, qubit: int) -> None
Initialize a qubit with an address.
int pyqpanda3.core.Qubit.__int__ | ( | self | ) |
int(self: core.Qubit) -> int
Convert the qubit to its address as an integer.
int pyqpanda3.core.Qubit.get_qubit_addr | ( | self | ) |
get_qubit_addr(self: core.Qubit) -> int
Get the address of the qubit.