tensorcircuit.results.qem.benchmark_circuits#
circuits for quantum chip benchmark
- tensorcircuit.results.qem.benchmark_circuits.QAOA_circuit(graph: List[Tuple[int]], weight: List[float], params: List[float]) Any [源代码]#
- tensorcircuit.results.qem.benchmark_circuits.ghz_circuit(num_qubits: int) Tuple[Any, Dict[str, float]] [源代码]#
- tensorcircuit.results.qem.benchmark_circuits.mirror_circuit(depth: int, two_qubit_gate_prob: float, connectivity_graph: networkx.classes.graph.Graph, seed: int, two_qubit_gate_name: str = 'CNOT') Tuple[Any, Dict[str, float]] [源代码]#