iqm.benchmarks.entanglement.ghz.generate_ghz_star_optimal#
- iqm.benchmarks.entanglement.ghz.generate_ghz_star_optimal(qubit_layout: List[int], cal_url: str, backend: IQMBackendBase, inv: bool = False) IQMCircuit#
Generates the circuit for creating a GHZ state by maximizing the number of CZ gates between a pair of MOVE gates.
- Parameters:
- Returns:
A quantum circuit generating a GHZ state on a given number of qubits.
- Return type:
QuantumCircuit