qiskit_aer.StatevectorSimulator.run¶
- StatevectorSimulator.run(circuits, validate=False, parameter_binds=None, **run_options)¶
Run a qobj on the backend.
- Paramètres
circuits (QuantumCircuit or list) – The QuantumCircuit (or list of QuantumCircuit objects) to run
validate (bool) – validate the Qobj before running (default: False).
parameter_binds (list) – A list of parameter binding dictionaries. See additional information (default: None).
run_options (kwargs) – additional run time backend options.
- Renvoie
The simulation job.
- Type renvoyé
- Lève
TypeError – If
parameter_binds
is specified with a qobj input or has a length mismatch with the number of circuits.
- Additional Information:
Each parameter binding dictionary is of the form:
{ param_a: [val_1, val_2], param_b: [val_3, val_1], }
for all parameters in that circuit. The length of the value list must be the same for all parameters, and the number of parameter dictionaries in the list must match the length of
circuits
(ifcircuits
is a singleQuantumCircuit
object it should a list of length 1).kwarg options specified in
run_options
will temporarily override any set options of the same name for the current run.
- Lève
ValueError – if run is not implemented