uniqc.simulator package

Submodules

Module contents

Public simulator API.

Two ways to obtain a simulator:

  • create_simulator() (recommended) — factory keyed by backend then program_type. Accepts both names and aliases.

  • get_simulator() — alias of create_simulator() with the same (backend_type, program_type) argument order.

Concrete simulator classes (Simulator, NoisySimulator, MPSSimulator, TorchQuantumSimulator, OpcodeSimulator) and common error-model classes (Depolarizing, AmplitudeDamping …) are re-exported here so users do not need to know the submodule layout.