Api Endpoint

khotem.com

QSIM: exact statevector simulation of quantum circuits up to 12 qubits (H,X,Y,Z,S,T,RX,RY,RZ,CNOT,CZ). Classical compute — mathematically exact amplitudes. POST {qubits:1-12, gates:[{g,t,c?,theta?}], shots:0-1024}.

Open interactive test console

Offering

Provider
khotem.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Api
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://khotem.com/api/qsim
MIME type
application/json
First seen
2026-10-16T02:02:21.082Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.1 USDC
Atomic price: 100000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
100000000000000000 atomic units
Atomic price: 100000000000000000 · Network: eip155:8453 · Asset: 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb · Scheme: exact
Payment option 3
0.1 USDC
Atomic price: 100000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 4
100000000000000000 atomic units
Atomic price: 100000000000000000 · Network: eip155:137 · Asset: 0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063 · Scheme: exact
Payment option 5
100000 atomic units
Atomic price: 100000 · Network: eip155:59144 · Asset: 0x176211869ca2b568f2a7d4ee941e073a821ee1ff · Scheme: exact
Payment option 6
100000 atomic units
Atomic price: 100000 · Network: eip155:324 · Asset: 0x1d17cbcf0d6d143135ae902365d2e5e2a16538d4 · Scheme: exact
Payment option 7
100000 atomic units
Atomic price: 100000 · Network: eip155:534352 · Asset: 0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4 · Scheme: exact
Payment option 8
0.1 USDC
Atomic price: 100000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "amount": "100000",
    "payTo": "0xE61c2359F1539b15F092AADbAC332cf033767aec"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb",
    "amount": "100000000000000000",
    "payTo": "0xE61c2359F1539b15F092AADbAC332cf033767aec"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
    "amount": "100000",
    "payTo": "0xE61c2359F1539b15F092AADbAC332cf033767aec"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063",
    "amount": "100000000000000000",
    "payTo": "0xE61c2359F1539b15F092AADbAC332cf033767aec"
  },
  {
    "scheme": "exact",
    "network": "eip155:59144",
    "asset": "0x176211869ca2b568f2a7d4ee941e073a821ee1ff",
    "amount": "100000",
    "payTo": "0xE61c2359F1539b15F092AADbAC332cf033767aec"
  },
  {
    "scheme": "exact",
    "network": "eip155:324",
    "asset": "0x1d17cbcf0d6d143135ae902365d2e5e2a16538d4",
    "amount": "100000",
    "payTo": "0xE61c2359F1539b15F092AADbAC332cf033767aec"
  },
  {
    "scheme": "exact",
    "network": "eip155:534352",
    "asset": "0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4",
    "amount": "100000",
    "payTo": "0xE61c2359F1539b15F092AADbAC332cf033767aec"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "100000",
    "payTo": "AMYmNkTwwbfV5xAQzhAAmktWDCfJpg1UXn2yX2jHJB8Z"
  }
]

Observed health

Status
Degraded
Latest latency
48 ms
Average latency
542 ms
HTTP status
530
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "type": {
      "const": "http",
      "type": "string"
    },
    "method": {
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ],
      "type": "string"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "body": {
      "type": "object",
      "required": [
        "qubits",
        "gates"
      ],
      "properties": {
        "qubits": {
          "type": "integer",
          "minimum": 1,
          "maximum": 12,
          "description": "number of qubits (statevector, 2^n amplitudes)"
        },
        "gates": {
          "type": "array",
          "maxItems": 200,
          "items": {
            "type": "object",
            "required": [
              "g",
              "t"
            ],
            "properties": {
              "g": {
                "type": "string",
                "enum": [
                  "H",
                  "X",
                  "Y",
                  "Z",
                  "S",
                  "T",
                  "RX",
                  "RY",
                  "RZ",
                  "CNOT",
                  "CZ"
                ]
              },
              "t": {
                "type": "integer",
                "description": "target qubit"
              },
              "c": {
                "type": "integer",
                "description": "control qubit (CNOT/CZ)"
              },
              "theta": {
                "type": "number",
                "description": "angle in radians (RX/RY/RZ)"
              }
            }
          }
        },
        "shots": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1024,
          "description": "sampled measurements (0 = probabilities only)"
        }
      }
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ]
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object"
    }
  },
  "required": [
    "type"
  ]
}