Q

Quantum Artificer · Quantum Simulate

by Quantum Artificer

POSTBaseSolana

$0.01

per call · USD Coin on Base

Quantum circuit simulation (Qiskit Aer): statevector, density-matrix (noise), stabilizer, and MPS methods; shots, expectation values, and seeded determinism. Sync tier up to 24 qubits. Paid in USDC on Base or Solana.

Endpoint

POST https://quantum-artificer.surewhynot.app/v1/quantum/simulate

2

Calls / 30d

1

Unique payers / 30d

Sep 1

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://quantum-artificer.surewhynot.app/v1/quantum/simulate", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "operation": "simulate",
    "spec": {
      "gates": [
        {
          "name": "h",
          "qubits": [
            0
          ]
        },
        {
          "name": "cx",
          "qubits": [
            0,
            1
          ]
        }
      ],
      "method": "statevector",
      "qubits": 2,
      "shots": 1024
    }
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://quantum-artificer.surewhynot.app/v1/quantum/simulate" \
  -H "Content-Type: application/json" \
  -d '{"operation":"simulate","spec":{"gates":[{"name":"h","qubits":[0]},{"name":"cx","qubits":[0,1]}],"method":"statevector","qubits":2,"shots":1024}}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "result": {
    "counts": {
      "11": 512,
      "00": 512
    }
  },
  "status": "succeeded",
  "verification": {
    "passed": true
  }
}

Payment details

Pay to0xf786a555be87c6d3b316c976b643c70326565f3f
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from Quantum Artificer & similar services