D-Wave · Schema

D-Wave Problem Answer

Answer payload returned by GET /problems/{id}/answer and embedded in COMPLETED problem statuses.

Quantum ComputingQuantum AnnealingOptimizationHybrid Quantum-ClassicalIsingQUBOIndustrial OptimizationSamplingLeapOcean SDKSAPI

Properties

Name Type Description
format string
active_variables array
energies array
num_occurrences array
solutions array
num_variables integer
timing object
url string
auth_method string
View JSON Schema on GitHub

JSON Schema

d-wave-problem-answer-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/d-wave/main/json-schema/d-wave-problem-answer-schema.json",
  "title": "D-Wave Problem Answer",
  "description": "Answer payload returned by GET /problems/{id}/answer and embedded in COMPLETED problem statuses.",
  "type": "object",
  "properties": {
    "format": {"type": "string", "enum": ["qp", "bq", "binary-ref"]},
    "active_variables": {"type": "array", "items": {"type": "integer"}},
    "energies": {"type": "array", "items": {"type": "number"}},
    "num_occurrences": {"type": "array", "items": {"type": "integer"}},
    "solutions": {"type": "array", "items": {"type": "array", "items": {"type": "integer"}}},
    "num_variables": {"type": "integer"},
    "timing": {
      "type": "object",
      "properties": {
        "qpu_sampling_time": {"type": "number"},
        "qpu_anneal_time_per_sample": {"type": "number"},
        "qpu_readout_time_per_sample": {"type": "number"},
        "qpu_access_time": {"type": "number"},
        "qpu_programming_time": {"type": "number"},
        "total_post_processing_time": {"type": "number"},
        "run_time": {"type": "number"},
        "charge_time": {"type": "number"}
      },
      "additionalProperties": true
    },
    "url": {"type": "string", "format": "uri"},
    "auth_method": {"type": "string", "enum": ["sapi-token"]}
  }
}