Portuguese, Brazilian
Idiomas
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.ignis.verification.get_ghz_simple

get_ghz_simple(n, measure=True, full_measurement=True)[código fonte]

Creates a linear GHZ state with the option of measurement

Parâmetros
  • n (int) – number of qubits

  • measure (bool) – Whether to add measurement gates

  • full_measurement (bool) – Whether to append full measurement, or only on the first qubit. Relevant only for measure=True

Tipo de retorno

QuantumCircuit

Retorna

A linear GHZ Circuit