Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.result.Result.get_statevector

Result.get_statevector(experiment=None, decimals=None)[ソース]

Get the final statevector of an experiment.

パラメータ
  • experiment (str or QuantumCircuit or Schedule or int or None) – the index of the experiment, as specified by data().

  • decimals (int) – the number of decimals in the statevector. If None, does not round.

戻り値

list of 2^num_qubits complex amplitudes.

戻り値の型

list[complex]

例外

QiskitError – if there is no statevector for the experiment.