# qiskit.providers.ibmq.RunnerResult.get_unitary¶

RunnerResult.get_unitary(experiment=None, decimals=None)

Get the final unitary of an experiment.

Parameters
• 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 unitary. If None, does not round.

Returns

list of 2^num_qubits x 2^num_qubits complex

amplitudes.

Return type

list[list[complex]]

Raises

QiskitError – if there is no unitary for the experiment.