iqm.benchmarks.entanglement.ghz.generate_ghz_star#
- iqm.benchmarks.entanglement.ghz.generate_ghz_star(num_qubits: int) IQMCircuit #
Generates the circuit for creating a GHZ state by maximizing the number of CZ gates between a pair of MOVE gates. :param num_qubits: the number of qubits of the GHZ state
- Returns:
A quantum circuit generating a GHZ state on a given number of qubits.
- Return type:
QuantumCircuit
- Parameters:
num_qubits (int) –