QuimbSimulator

class QuimbSimulator(quimb_circuit_factory, autodiff_backend=None, progbar=False)[source][source]

Bases: TensorNetworkSimulationSettings

Settings for Quimb simulator.

This is compatible with both Quimb’s MPS simulator, which eagerly contracts gates, as well as Quimb’s standard method for circuit simulation.

Attributes

Parameters:
autodiff_backend: Optional[str] = None
progbar: bool = False

Whether to display a progress bar while applying gates.

quimb_circuit_factory: QuimbCircuitFactory

Callable for constructing the Quimb circuit, e.g., Circuit() or CircuitMPS().