QuantumFair logo: a Bloch sphere with a state vector OpenSF Labs · Concept

QuantumFair: quantum circuits, straight from Salesforce.

A working tech demo. Apex builds a quantum circuit, sends it to a real IBM Quantum computer and turns the measured qubits into fair, auditable assignments — with no servers, middleware or Python in between.

The QuantumFair Jobs tab in Salesforce: five quantum jobs on IBM Heron backends, four completed and one running
The Jobs tab in a Salesforce org: every request is a real IBM Quantum job, tracked as a record.
What this demo proves

Two ideas, one working app

01

No middle layer

Salesforce can talk to a quantum computer on its own. Apex signs in to IBM Cloud, writes the circuit itself as hardware-native OpenQASM 3 and submits it to IBM's Quantum API. Queueable and scheduled Apex wait for the result, and Platform Events push it to the screen. No Heroku, no AWS, no Qiskit server.

  1. Flow / LWC
  2. Apex builds OpenQASM 3
  3. IBM Quantum (Heron)
  4. Apex validates & certifies
  5. Platform Event → UI
02

Quantum for everyday business

Most quantum-for-business talk is about portfolio optimisation. QuantumFair starts somewhere more ordinary: decisions people argue about because they have to trust that they were random.

  • Lead and case distribution
  • Audit and QA sampling
  • Prize draws and incentive lotteries
  • Interview and citizen panel selection
  • Clinical-trial and A/B cohort assignment
How it works

From qubits to a certificate you can replay

Generate

Each qubit gets a Hadamard gate and is measured: an equal superposition, collapsed. Thousands of shots on IBM Heron hardware give tens of thousands of raw bits.

Certify

Per-qubit debiasing, NIST-style statistical tests and an optional Bell (CHSH) test. Every certificate is SHA-256 hash-chained to the one before it, and is revoked if later checks fail.

Assign & audit

Rejection sampling turns bits into assignments with no modulo bias. Same bits, same result, so an auditor can replay any draw from the stored evidence.

Inside the app

Native Salesforce, end to end

Lightning Web Components, custom objects and permission sets — it lives in the org like any other app.

The fine print

Why it's a concept, not a product

  • Bring your own quantum. Each org connects its own IBM Quantum account. The free plan covers a demo; real volume needs paid quantum time, which is why QuantumFair isn't on AppExchange.
  • Not instant. Jobs wait in IBM's queue, from minutes to hours. Fine for a weekly draw, wrong for real-time routing.
  • Evidence, not proof. The Bell test shows results consistent with quantum origin. It still trusts IBM's hardware — it isn't device-independent certified randomness.
  • The price will move. Today a quantum draw costs dollars where a classical one costs nothing. The pattern is built for the day that changes.

Try it in your own org

Install QuantumFair 1.0 in a sandbox or Developer Edition org, connect a free IBM Quantum account and run your first quantum draw. Or tell us what you tried with it.