mindquantum.algorithm.compiler.compile_circuit#
- mindquantum.algorithm.compiler.compile_circuit(compiler, circ)#
直接根据给定的编译规则,编译一个量子线路。
- 参数:
compiler (
BasicCompilerRule) - 编译规则。circ (
Circuit) - 想要编译的量子线路。
- 返回:
Circuit,编译后的量子线路。
直接根据给定的编译规则,编译一个量子线路。
compiler (BasicCompilerRule) - 编译规则。
circ (Circuit) - 想要编译的量子线路。
Circuit,编译后的量子线路。