FoundryProductsTechnologyCompanyInvestor relationsResource libraryNews
Contact us
Resource library
    Resource library home
    Developer resources
      Entropy quantum optimization
      Quantum random number generation
      Reservoir computing
        emucore-direct software package
          Getting Started
          Basic Usage
          Univariate Time Series Forecasting: NARMA10
          emucore-direct
          Dependencies
    Applications
    Lessons
    Research and publications
    Support

Couldn’t find what you are looking for? Reach out to technical support.

Contact support
Privacy PolicyCookie PolicyTerms of UseForward Looking StatementsAccessibility Statement
Terms and Conditions of SaleEnd User License Agreement

© 2018-2026 Quantum Computing Inc.

Download

Default

Source code for emucore_direct.types

  • """
  • Documents possible responses from gRPC server for bumblebee client
  • """
  • from dataclasses import dataclass
  • [docs]
  • @dataclass
  • class StatusResponses:
  • """
  • status codes paired with their descriptions
  • """
  • NORMAL = {
  • "status": 0,
  • "message": "Success"
  • }
  • MISMATCH = {
  • "status": 1,
  • "message": "lock_id doesn't match current device lock",
  • }
  • DEVICE_BUSY = {
  • "status": 2,
  • "message": "Device currently processing other request"
  • }
  • [docs]
  • @dataclass
  • class LockManageStatus:
  • """
  • Statuses and descriptions for acquiring and releasing lock
  • """
  • SUCCESS = {
  • "status": 0,
  • "message": "Success"}
  • MISMATCH = {
  • "status": 1,
  • "message": "lock_id does not match current device lock_id",
  • }
  • BUSY = {
  • "status": 2,
  • "message": "Lock currently in use unable to perform operation",
  • }
Next page

Content

  • Source code for emucore_direct.types