get_qpu
This module implements the get_qpu function that allows to the user select a EVIDEN QPU for ideal simulation. The qpu variable is a string that should take some of the following values:
- qlmass_linalg.
For selecting the linear algebra simulator LinAlg. This QPU can be used only with QaptivaÔäó Appliance when the user sends the computations to a remote QPU. The user must have remote access to a remote QLM using the Qaptiva Access (QLM as a Service) library.
- qlmass_mps.
For selecting the Matrix Product State (MPS) simulator. This QPU can be used only with QaptivaÔäó Appliance when the user sends the computations to a remote QPU. The user must have remote access to a remote QLM using the Qaptiva Access (QLM as a Service) library.
- python.
For selecting the linear algebra simulator PyLinalg. This a pure Python algebra simulator. This QPU is provided by the myQLM library. It can not be used with QaptivaÔäó Appliance.
- c
For selecting the linear algebra simulator CLinalg. This a pure C algebra simulator. This QPU is provided by the myQLM library. It can not be used with QaptivaÔäó Appliance.
- linalg
For selecting the linear algebra simulator LinAlg. This QPU can be used only with QaptivaÔäó Appliance when the user is locally in a QLM.
- mps
For selecting the Matrix Product State (MPS) simulator This QPU can be used only with QaptivaÔäó Appliance when the user is locally in a QLM.
- QQuantLib.qpu.get_qpu.get_qpu(qpu=None)
Function for selecting solver.
- Parameters:
qpu (str) – string with the desired qpu
- Returns:
linal_qpu
- Return type:
solver for quantum jobs