qiskit.providers.ibmq.RunnerResult.get_statevector¶
- RunnerResult.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.