qbraid.runtime.qperfect.QPerfectProvider

class QPerfectProvider(token=None, *, url=None, username=None, password=None)[source]

QPerfect (MIMIQ) provider class.

Build a QPerfect provider.

Credentials are resolved on first connection use, so constructing a provider never raises for missing configuration. See build_connection() for the resolution order and the environment variables behind each argument.

Parameters:
  • token (str | None) – A MIMIQ refresh token.

  • url (str | None) – The MIMIQ cloud URL.

  • username (str | None) – MIMIQ account email.

  • password (str | None) – MIMIQ account password.

__init__(token=None, *, url=None, username=None, password=None)[source]

Build a QPerfect provider.

Credentials are resolved on first connection use, so constructing a provider never raises for missing configuration. See build_connection() for the resolution order and the environment variables behind each argument.

Parameters:
  • token (str | None) – A MIMIQ refresh token.

  • url (str | None) – The MIMIQ cloud URL.

  • username (str | None) – MIMIQ account email.

  • password (str | None) – MIMIQ account password.

Methods

__init__([token, url, username, password])

Build a QPerfect provider.

get_device(device_id)

Get the QPerfect MIMIQ emulator by its device id ("mimiq-emulator").

get_devices()

Get the available QPerfect (MIMIQ) devices (a single cloud emulator).

Attributes

connection

Return an authenticated MIMIQ connection, establishing it on first use.