mqt.qudits.simulation.backends.backendv2¶
Module Contents¶
- class Backend(provider: MQTQuditProvider, name: str | None = None, description: str | None = None, **fields: typing_extensions.Unpack[DefaultOptions])[source]¶
Bases:
abc.ABCHelper class that provides a standard way to create an ABC using inheritance.
- class DefaultOptions[source]¶
Bases:
TypedDictdict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s
(key, value) pairs
- dict(iterable) -> new dictionary initialized as if via:
d = {} for k, v in iterable:
d[k] = v
- dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)
- noise_model: NoiseModel | None¶
- name = None¶
- noise_model: NoiseModel | None = None¶
- property energy_level_graphs: list[LevelGraph]¶
- Abstractmethod:
- property provider: MQTQuditProvider¶
- abstractmethod run(circuit: QuantumCircuit, **options: typing_extensions.Unpack[DefaultOptions]) Job[source]¶
- abstractmethod execute(circuit: QuantumCircuit, noise_model: NoiseModel | None = None) numpy.typing.NDArray[numpy.complex128] | None[source]¶