iqm.benchmarks.entanglement.ghz.generate_ghz_log_cruz#
- iqm.benchmarks.entanglement.ghz.generate_ghz_log_cruz(num_qubits: int) IQMCircuit #
Generates a GHZ state in log-depth according to https://arxiv.org/abs/1807.05572 :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