qiskit-documentation/docs/api/qiskit/0.29/qiskit.ignis.verification.g...

31 lines
1.0 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: get_ghz_mqc (v0.29)
description: API reference for qiskit.ignis.verification.get_ghz_mqc in qiskit v0.29
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.ignis.verification.get_ghz_mqc
---
<span id="qiskit-ignis-verification-get-ghz-mqc" />
# qiskit.ignis.verification.get\_ghz\_mqc
<Function id="qiskit.ignis.verification.get_ghz_mqc" isDedicatedPage={true} github="https://github.com/qiskit-community/qiskit-ignis/tree/stable/0.6/qiskit/ignis/verification/entanglement/linear.py" signature="get_ghz_mqc(n, delta, full_measurement=True)">
This function creates an MQC circuit with n qubits, where the middle phase rotation around the z axis is by delta
**Parameters**
* **n** (`int`) number of qubits
* **delta** (`float`) the rotation of the middle phase around the z axis
* **full\_measurement** (`bool`) Whether to append full measurement, or only on the first qubit.
**Return type**
`QuantumCircuit`
**Returns**
The MQC circuit
</Function>