QPanda3
0.1.0
Supported by OriginQ
|
Classes | |
class | Transpiler |
Functions | |
decompose (*args, **kwargs) | |
decompose(*args, **kwargs) Overloaded function. | |
list[list[int]] | generate_topology (int num_qubit, str topology_type) |
generate_topology(num_qubit: int, topology_type: str) -> list[list[int]] | |
pyqpanda3.transpilation.decompose | ( | * | args, |
** | kwargs ) |
decompose(*args, **kwargs) Overloaded function.
@brief Decompose a QProg into its constituent parts. @param[in] prog The QProg to decompose. @return The decomposed QProg.
@brief Decompose a QCircuit into its fundamental components. @param[in] circuit The QCircuit to decompose. @return The decomposed QCircuit.
list[list[int]] pyqpanda3.transpilation.generate_topology | ( | int | num_qubit, |
str | topology_type ) |
generate_topology(num_qubit: int, topology_type: str) -> list[list[int]]
@brief Generate the topology for quantum circuits. @details This function generates the topology based on the specified parameters.