iqm.benchmarks.entanglement.ghz.generate_ghz_log_mooney#
- iqm.benchmarks.entanglement.ghz.generate_ghz_log_mooney(num_qubits: int) IQMCircuit #
Generates a GHZ state in log-depth according to https://arxiv.org/abs/2101.08946 :param num_qubits: the number of qubits of the GHZ state
- Returns:
A quantum circuit generating a GHZ state of n qubits
- Parameters:
num_qubits (int) –
- Return type:
IQMCircuit