KaleidoscopeSimulatorService¶
-
class
KaleidoscopeSimulatorService
[source]¶ A service for IBMQ device simulators.
Simulators are constructed from noise models that correspond to the latest calibration data returned from the devices.
System simulators are loaded async, and the name corresponds to which underlying simulator is doing the computation, e.g.
aer_*
oribmq_*
.Systems are attached to the service as attributes and the service object is available at the top-level via
simulators
. For example, aibmq_vigo
simulator usingAer
can be retrieved via:from kaleidoscope.qiskit import Simulators sim = Simulators.aer_vigo_simulator
Traceback [1;36m(most recent call last)[0m: File [0;32m"<ipython-input-1-fe4aa184905b>"[0m, line [0;32m2[0m, in [0;35m<module>[0m sim = Simulators.aer_vigo_simulator [1;36m File [1;32m"/opt/miniconda3/envs/qiskit/lib/python3.9/site-packages/kaleidoscope/qiskit/services/_simulators.py"[1;36m, line [1;32m190[1;36m, in [1;35m__getattr__[1;36m[0m [1;33m raise AttributeError("Couldn't load {}.".format(attr))[0m [1;31mAttributeError[0m[1;31m:[0m Couldn't load aer_vigo_simulator. Use %tb to get the full traceback.
-
refreshing
¶ Is the service refreshing its simulators async.
- Type
bool
Methods
Call self as a function.
Refresh the service for new backends if IBMQ account was not loaded before init.
-