SpinSimulator.run¶
- SpinSimulator.run(circuits, shots=1000, spin=Fraction(1, 2), seed=None, **run_kwargs)[source]¶
Run the simulator with a variable length of the individual spins.
- Parameters:
circuits (
Union[QuantumCircuit,List[QuantumCircuit]]) – A list of quantum circuits.shots (
int) – The number of shots to measure.spin (
Union[float,Fraction]) – The spin length of the simulated system which must be a positive integer or half-integer. Defaults to 1/2 which is equivalent to qubits.seed (
Optional[int]) – The seed for the simulator.run_kwargs – Additional keyword arguments that might be passed down when calling
backend. (qiskit.execute() which will have no effect on this) –
- Returns:
a job object containing the result of the simulation
- Return type:
aer_job