# qiskit.providers.basicaer.UnitarySimulatorPy.run¶

UnitarySimulatorPy.run(qobj, **backend_options)[소스]

Run qobj asynchronously.

매개변수
• qobj (Qobj) – payload of the experiment

• backend_options (dict) – backend options

반환값

derived from BaseJob

반환 형식

BasicAerJob

backend_options: Is a dict of options for the backend. It may contain
* "initial_unitary": matrix_like
* "chop_threshold": double

The "initial_unitary" option specifies a custom initial unitary
matrix for the simulator to be used instead of the identity
matrix. This size of this matrix must be correct for the number
of qubits inall experiments in the qobj.

The "chop_threshold" option specifies a truncation value for
setting small values to zero in the output unitary. The default
value is 1e-15.

Example::

backend_options = {
"initial_unitary": np.array([[1, 0, 0, 0],
[0, 0, 0, 1],
[0, 0, 1, 0],
[0, 1, 0, 0]])
"chop_threshold": 1e-15
}