Documentation Index
Fetch the complete documentation index at: https://docs.haiqu.ai/llms.txt
Use this file to discover all available pages before exploring further.
Get up and running with Haiqu MCP (Model Context Protocol) tools in your favourite IDE or AI chat.
Open Claude settings
Create a ~/.claude.json file if it does not exist.
Configure the Haiqu MCP server
In ~/.claude.json, add:"mcpServers": {
"Haiqu": {
"type": "http",
"url": "https://api.haiqu.ai/mcp",
"headers": {
"Authorization": "HAIQU-API-KEY"
}
}
}
Test the connection
In Claude’s chat, ask “What Haiqu tools do you have available?” Claude should show the Haiqu MCP server as an available tool. The example output from the Claude chat:Based on the system context, here are the available Haiqu MCP tools:
Experiments
mcp__Haiqu__create_new_experiment — create a new experiment
mcp__Haiqu__get_experiment_by_id — fetch experiment by ID
mcp__Haiqu__get_experiment_by_name — fetch experiment by name
mcp__Haiqu__list_experiments — list all experiments
mcp__Haiqu__update_experiment — update experiment metadata
...
Would you like me to use any of these?
Open MCP settings
- Use Command + Shift + P (Ctrl + Shift + P on Windows) to open the command palette.
- Search for “Open MCP settings”.
- Select Add custom MCP. This opens the
mcp.json file.
Configure the Haiqu MCP server
In mcp.json, add:{
"mcpServers": {
"Haiqu": {
"url": "https://api.haiqu.ai/mcp",
"type": "http",
"headers": {
"authorization": "HAIQU-API-KEY"
}
}
}
}
Test the connection
In Cursor’s chat, ask “What Haiqu tools do you have available?” Cursor should show the Haiqu MCP server as an available tool.
The Haiqu documentation automatically generates llms.txt file to help AI tools index and understand the SDK and API documentation.
This documentation page generates an MCP server from guides and the SDK reference. It exposes a search tool for AI applications to query this documentation. To connect this documentation to AI tools do the following:
Open Claude settings
Open ~/.claude.json file.
Configure the Documentation MCP server
In ~/.claude.json, add:"mcpServers": {
"HaiquDocumentation": {
"url": "https://docs.haiqu.ai/mcp"
}
}
Open MCP settings
- Use Command + Shift + P (Ctrl + Shift + P on Windows) to open the command palette.
- Search for “Open MCP settings”.
- Select Add custom MCP. This opens the
mcp.json file.
Configure the Documentation MCP server
In mcp.json, add:{
"mcpServers": {
"HaiquDocumentation": {
"url": "https://docs.haiqu.ai/mcp"
}
}
}
To test, in AI chat, ask “What HaiquDocumentation guides do you have available?” It should show the HaiquDocumentation server as an available tool.
Example vibe-quantum coding
In AI chat, ask “Show me the typical workflow with a simple quantum circuit.” The AI assistant should show the the complete workflow with creating a new experiment, quantum circuit, and running it on the simulator:
Step 1 — List devices
Identified aer_simulator as the best target: available, 0 pending jobs, 1024 qubits.
Step 2 — Create experiment
Experiment: "Bell State Demo"
ID: exp-6eddfc05-8336-4b9c-b5fb-dc91afb79293
Experiments are containers for circuits, jobs, and artifacts. If one with the same name already exists, it's returned instead of duplicated.
Step 3 — Submit circuit (via QASM)
OPENQASM 2.0;
include "qelib1.inc";
qreg q[2];
creg c[2];
h q[0]; // superposition on qubit 0
cx q[0], q[1]; // entangle q0 → q1
measure q[0] -> c[0];
measure q[1] -> c[1];
Circuits can be provided as QASM (auto-saved to the DB) or by existing circuit_id.Step 4 — Poll results
Status: Done
Device: aer_simulator
Shots: 1024
Time: 0.09s
Results:
|00⟩ 53.4% (534 counts)
|11⟩ 46.6% (490 counts)
Hellinger fidelity: 0.9995
The ~50/50 split between |00⟩ and |11⟩ is exactly what a Bell state (|Φ+⟩ = (|00⟩ + |11⟩)/√2) should produce. The near-perfect fidelity confirms the simulation is clean.