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.
- __init__(*, compiler: Compiler | 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:
compiler (Compiler | None) – Compiler for changing into universal gates. the compiler must implement the to_universal_gates method. Defaults to the
PerGateCompilercompiler.- 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:
- supports_shots_equals_none() bool
Return whether the backend supports shots = None.
Qulacs Backend supports shots = None since it can perform full state vector simulations.
- Return type:
bool