BaseFermionBackend¶
- class BaseFermionBackend(configuration, provider=None, **fields)[source]¶
Abstract base class for fermionic tweezer backends.
Initialize a backend class
- Parameters:
configuration (BackendConfiguration) – A backend configuration object for the backend object.
provider (qiskit.providers.Provider) – Optionally, the provider object that this Backend comes from.
fields – kwargs for the values to use to override the default options.
- Raises:
AttributeError – if input field not a valid options
In addition to the public abstract methods, subclasses should also implement the following private methods:
- abstract classmethod _default_options()
Return the default options
This method will return a
qiskit.providers.Options
subclass object that will be used for the default options. These should be the default parameters to use for the options of the backend.- Returns:
- A options object with
default values set
- Return type:
qiskit.providers.Options
Attributes
Return the options for the backend
Methods
Return the backend configuration.
BaseFermionBackend.draw
(qc, **draw_options)Modified circuit drawer to better display atomic mixture quantum circuits.
Initialize a fermionic quantum circuit with the given occupations.
Measure the expectation value of an observable in a state prepared by a given quantum circuit that uses fermionic gates.
Return the backend name.
Return the backend properties.
Return the backend Provider.
BaseFermionBackend.run
(run_input, **options)Run on the backend.
BaseFermionBackend.set_options
(**fields)Set the options fields for the backend
Return the backend status.