QPanda3
0.1.0
Supported by OriginQ
|
Functions | |
convert_originir_file_to_qprog (*args, **kwargs) | |
convert_originir_file_to_qprog(ir_filepath: str) -> QPanda::QProg | |
convert_originir_string_to_qprog (*args, **kwargs) | |
convert_originir_string_to_qprog(string: str) -> QPanda::QProg | |
convert_qasm_file_to_qprog (*args, **kwargs) | |
convert_qasm_file_to_qprog(qasm_filepath: str) -> QPanda::QProg | |
convert_qasm_string_to_qprog (*args, **kwargs) | |
convert_qasm_string_to_qprog(qasm_str: str) -> QPanda::QProg | |
str | convert_qprog_to_originir (prog) |
convert_qprog_to_originir(prog: QPanda::QProg) -> str | |
pyqpanda3.intermediate_compiler.convert_originir_file_to_qprog | ( | * | args, |
** | kwargs ) |
convert_originir_file_to_qprog(ir_filepath: str) -> QPanda::QProg
This interface converts a file containing instruction set string in OriginIR format into the quantum program QProg.
[in] | ir_filepath | File path to be converted containing OriginIR instruction set string. |
pyqpanda3.intermediate_compiler.convert_originir_string_to_qprog | ( | * | args, |
** | kwargs ) |
convert_originir_string_to_qprog(string: str) -> QPanda::QProg
This interface converts instruction set string in OriginIR format into the quantum program QProg.
[in] | ir_str | OriginIR instruction set string to be converted. |
pyqpanda3.intermediate_compiler.convert_qasm_file_to_qprog | ( | * | args, |
** | kwargs ) |
convert_qasm_file_to_qprog(qasm_filepath: str) -> QPanda::QProg
This interface converts a file containing instruction set string in QASM format into the quantum program QProg.
[in] | qasm_filepath | File path to be converted containing QASM instruction set string. |
pyqpanda3.intermediate_compiler.convert_qasm_string_to_qprog | ( | * | args, |
** | kwargs ) |
convert_qasm_string_to_qprog(qasm_str: str) -> QPanda::QProg
This interface converts instruction set string in QASM format into the quantum program QProg.
[in] | qasm_str | QASM instruction set string to be converted. |
str pyqpanda3.intermediate_compiler.convert_qprog_to_originir | ( | prog | ) |
convert_qprog_to_originir(prog: QPanda::QProg) -> str
This interface converts the quantum program QProg to an instruction set string in OriginIR format.
[in] | prog | The quantum program to be converted. |