qrunch.quantum.backends.quimb_backend.quimb_backend
Module with implementation of the Quimb Tensor Network (TN) simulator.
Classes
Class for handling Quimb local TN simulator. |
- class QuimbBackend
Bases:
BackendClass for handling Quimb local TN simulator.
- __init__(*, seed: int | None = None) None
Initialize a local Quimb Backend.
- Parameters:
seed (int | None) – Seed for the sampler. Defaults to None.
- 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]