qrunch.quantum.backends.qunasys.qulacs_backend
Module with implementation of the Qulacs simulator.
Classes
Class for handling Qulacs local simulator. |
- class QulacsBackend
Bases:
BackendClass for handling Qulacs local simulator.
- Requirements:
Machine: linux-x86_64 or darwin-arm64
- __init__(transpiler: Transpiler[QuantumCircuit] | None = None) None
Initialize a local Qulacs Backend.
The backend calculates the full state vector of the given circuit, and uses this to find the probabilities for each possible state in the Hilbert space.
- Parameters:
transpiler (Transpiler[QuantumCircuit] | None) – Transpiler for converting circuits into a format suitable for the backend.
- Return type:
None
- property name: str
Name of the backend.
- run(circuits: Circuit | Sequence[Circuit], shots: int | None) SimulatedJob
Run circuit on the backend.
- Parameters:
- Return type:
- validate_shots_type(shots_type: Type[int | None]) list[str]
Validate that the sampler supports the given shots type. Return a list of error messages if not supported.
- Parameters:
shots_type (Type[int | None])
- Return type:
list[str]