![]() |
QPanda3
Supported by OriginQ
|
The default data format. Its behavior may depend on the context or backend implementation. More...
Public Member Functions | |
| None | __init__ (self, int value) |
| init(self: qcloud.DataFormat, value: int) -> None | |
| bool | __eq__ (self, object other) |
| eq(self: object, other: object) -> bool | |
| int | __hash__ (self) |
| hash(self: object) -> int | |
| int | __index__ (self) |
| index(self: qcloud.DataFormat) -> int | |
| int | __int__ (self) |
| int(self: qcloud.DataFormat) -> int | |
| bool | __ne__ (self, object other) |
| ne(self: object, other: object) -> bool | |
| str | name (self) |
| name(self: object) -> str | |
| int | value (self) |
| (arg0: qcloud.DataFormat) -> int | |
Static Public Attributes | |
| ClassVar | BINARY = ... |
| ClassVar | DEFAULT = ... |
| ClassVar | INSTRUCTION_SET = ... |
The default data format. Its behavior may depend on the context or backend implementation.
@brief An enumeration representing the supported data
formats for quantum circuit export or communication.
Members:
DEFAULT :
BINARY :
A compact binary format suitable for efficient transmission and storage.
INSTRUCTION_SET :
A format representing the circuit as an explicit sequence of instructions or gates.
| None pyqpanda3.qcloud.qcloud.DataFormat.__init__ | ( | self, | |
| int | value ) |
init(self: qcloud.DataFormat, value: int) -> None
| bool pyqpanda3.qcloud.qcloud.DataFormat.__eq__ | ( | self, | |
| object | other ) |
eq(self: object, other: object) -> bool
| int pyqpanda3.qcloud.qcloud.DataFormat.__hash__ | ( | self | ) |
hash(self: object) -> int
| int pyqpanda3.qcloud.qcloud.DataFormat.__index__ | ( | self | ) |
index(self: qcloud.DataFormat) -> int
| int pyqpanda3.qcloud.qcloud.DataFormat.__int__ | ( | self | ) |
int(self: qcloud.DataFormat) -> int
| bool pyqpanda3.qcloud.qcloud.DataFormat.__ne__ | ( | self, | |
| object | other ) |
ne(self: object, other: object) -> bool
| str pyqpanda3.qcloud.qcloud.DataFormat.name | ( | self | ) |
name(self: object) -> str
name(self: object) -> str
| int pyqpanda3.qcloud.qcloud.DataFormat.value | ( | self | ) |
(arg0: qcloud.DataFormat) -> int
|
static |
|
static |
|
static |