QCE API Docs

Quantum Computing API

Access quantum computing power through a modern API that supports simulations, qubit operations, and quantum algorithm execution.

Getting Started

Begin using the Quantum API with just an API key - no quantum lab needed.

Authentication

Get started by requesting an API key from our developers portal. Use it with the Authorization header for authentication.

{code}
curl -X GET "https://api.quantumcomputinge.com/quantum/simulate" \
     -H "Authorization: Bearer YOUR_API_KEY"

Available Endpoints

Execute quantum operations, run simulations, and access quantum computing tools via API.

Quantum Simulation

/api/v1/qubits/simulate

POST

Run custom quantum circuit simulations with configurable qubit counts, gates, and measurement options.

{code}
{
  "qubits": 4,
  "circuit": "h q[0]; cx q[0], q[3]; measure q;",
  "shots": 1000
}

Algorithm Execution

/api/v1/algorithms/execute

POST

Run quantum algorithms like Shor's, Grover's, and more with parameterized inputs.

{code}
{
  "algorithm": "shor",
  "parameters": {"N": 15, "a": 2},
  "shots": 4096
}

Entanglement Analysis

/api/v1/entanglement/analyze

POST

Analyze quantum states for entanglement measurement and qubit correlations.

{code}
{
  "qubit_pairs": [[0,1],[1,2]],
  "measurements": 10000
}

Example Usage

Run quantum simulations with a few lines of code in your preferred language.

python3
{code}
import requests

response = requests.post(
    "https://api.quantumcomputinge.com/quantum/simulate",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "qubits": 2,
        "circuit": "h q[0]; cx q[0], q[1]; measure q;",
        "shots": 1000
    }
)

print(response.json())
Need Help?

Join Our Developer Community

Connect with other quantum developers, share use cases, and get official support from our team.