Xanadu · Schema

PennyLane Device

Logical description of a PennyLane device — the executable target for a quantum circuit. PennyLane devices abstract simulators (default.qubit, lightning.qubit, lightning.gpu, default.mixed) and hardware backends (IBM Q, IonQ, Rigetti, AWS Braket, Strawberry Fields) behind a single interface.

Quantum ComputingPhotonic Quantum ComputingQuantum Machine LearningContinuous VariableOpen-SourcePythonPennyLaneStrawberry FieldsToronto

Properties

Name Type Description
name string Fully qualified device name, e.g. 'default.qubit', 'lightning.gpu', 'strawberryfields.gaussian'.
shortName string Human-readable short name.
plugin string PennyLane plugin providing the device, e.g. 'pennylane-lightning', 'pennylane-qiskit'.
wires integer Number of qubits or photonic modes exposed by the device.
shots integernull Number of measurement shots. Null indicates analytic (exact-expectation) execution where supported.
backend string Underlying backend identifier (for plugins that wrap multiple hardware/simulator targets).
supportsGradient boolean Whether the device supports a native (e.g. parameter-shift, adjoint, backprop) gradient method.
diffMethods array List of differentiation methods supported by the device.
capabilities object Free-form capability map returned by the device (model, returns_state, returns_probs, supports_finite_shots, etc.).
View JSON Schema on GitHub

JSON Schema

pennylane-device-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/xanadu/refs/heads/main/json-schema/pennylane-device-schema.json",
  "title": "PennyLane Device",
  "description": "Logical description of a PennyLane device — the executable target for a quantum circuit. PennyLane devices abstract simulators (default.qubit, lightning.qubit, lightning.gpu, default.mixed) and hardware backends (IBM Q, IonQ, Rigetti, AWS Braket, Strawberry Fields) behind a single interface.",
  "type": "object",
  "required": ["name", "wires"],
  "properties": {
    "name": {
      "type": "string",
      "description": "Fully qualified device name, e.g. 'default.qubit', 'lightning.gpu', 'strawberryfields.gaussian'."
    },
    "shortName": {
      "type": "string",
      "description": "Human-readable short name."
    },
    "plugin": {
      "type": "string",
      "description": "PennyLane plugin providing the device, e.g. 'pennylane-lightning', 'pennylane-qiskit'."
    },
    "wires": {
      "type": "integer",
      "minimum": 1,
      "description": "Number of qubits or photonic modes exposed by the device."
    },
    "shots": {
      "type": ["integer", "null"],
      "minimum": 1,
      "description": "Number of measurement shots. Null indicates analytic (exact-expectation) execution where supported."
    },
    "backend": {
      "type": "string",
      "description": "Underlying backend identifier (for plugins that wrap multiple hardware/simulator targets)."
    },
    "supportsGradient": {
      "type": "boolean",
      "description": "Whether the device supports a native (e.g. parameter-shift, adjoint, backprop) gradient method."
    },
    "diffMethods": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": ["best", "backprop", "adjoint", "parameter-shift", "finite-diff", "spsa", "hadamard", "device"]
      },
      "description": "List of differentiation methods supported by the device."
    },
    "capabilities": {
      "type": "object",
      "additionalProperties": true,
      "description": "Free-form capability map returned by the device (model, returns_state, returns_probs, supports_finite_shots, etc.)."
    }
  },
  "additionalProperties": false
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/pennylane-device"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.