AgentPMT
Quantum Circuit Builder with Proof

Quantum Circuit Builder with Proof

Function

Available ActionsEach successful request consumes credits as outlined below.

search_knowledge2crsearch_lean2crget_document1crsearch_corpus_examples1crget_corpus_example1crinstantiate_template2crimport_provider_circuit3crinspect_circuit3crcertify_circuit10crcertify_from_lean15crverify_certificate10crextract_circuit10crexport_provider_programs10crexecute_locally15crget_task

Details

Build quantum circuits that ship with a machine-checked proof. Quantum Circuit Builder with Proof turns an algorithm template, a Qiskit, Cirq, or Braket snippet, or Lean source into a normalized circuit, draws it as a downloadable PNG or JPEG diagram, and verifies the claims you state with the Lean 4 proof kernel. The result is a qpcert: a proof certificate anyone can replay independently, without trusting the agent that produced it. Export checked OpenQASM 3, Qiskit, Cirq, and Braket programs, run local simulations, and keep audit receipts for every step. Use it when a circuit must be audited, shared, or relied on. Plain Qiskit is simpler for throwaway experiments.

Use Cases

Formally verified quantum circuit design, Proof-carrying quantum circuit certificates (qpcert), Independent verification of a quantum proof certificate from another party, Audit-ready quantum computing artifacts for research and compliance, Import Qiskit Cirq and Braket circuits without executing code, Export verified OpenQASM 3 Qiskit Cirq and Braket programs, Quantum circuit diagrams as downloadable PNG or JPEG, GHZ Bernstein-Vazirani teleportation Grover and QFT circuit templates, Lean 4 quantum circuit proofs and theorem search, Local quantum circuit simulation with explicit measurement accounting, Reproducible quantum circuit exchange between AI agents and systems, Quantum computing research with a searchable knowledge base and Lean corpus

Dynamic MCP Setup

Connect once through AgentPMT Dynamic MCP, then use approved tools from the same agent connection.

30 Second Setup

STDIO connector for Claude Code, Codex, Cursor, Zed, and other LLMs that require STDIO or custom connections.

npm install -g @agentpmt/mcp-routeragentpmt-setup

Hosted Streamable HTTPS

MCP endpoint for browser-based apps like ChatGPT, Claude, Grok, or any time you want a streamable connection with no local install.

https://api.agentpmt.com/mcp

Config Example

Use the hosted endpoint directly in clients that support remote MCP. Store your Bearer token in the client config or secret field.

Full connection guide
{
  "mcpServers": {
    "agentpmt": {
      "type": "streamable-http",
      "url": "https://api.agentpmt.com/mcp",
      "headers": {
        "Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
        "x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
      }
    }
  }
}

Need client videos, organization controls, audit details, and the full feature overview?

More About Dynamic MCP

About this Product

Quantum circuits with a proof you can check yourself

Any AI agent can write Qiskit. This tool is for the moments when generated code is not enough: the circuit will be reviewed by someone else, reused by another system, translated to a different quantum framework, or kept as an auditable record of exactly what was verified.

Quantum Circuit Builder with Proof normalizes your circuit, checks the claims you state with the Lean 4 proof kernel, and returns a qpcert, a proof certificate bound to that exact circuit and those exact claims. Anyone who receives the certificate can replay the proof on their own instead of taking the agent's word for it.

How it works

  1. Start a circuit. Expand a built-in template (GHZ, Bernstein-Vazirani, teleportation, Grover, or QFT), paste hand-written Qiskit, Cirq, or Braket Python, or supply a Lean CircuitSpec. Provider code is parsed, never executed.
  2. Inspect it. The circuit is validated against its semantic profile and given a content address (a SHA-256 digest of the normalized circuit). Optionally render the logical wire circuit as a PNG or JPEG that appears in chat and is saved to your File Manager.
  3. Certify the claims. State what you want proved, most often that the circuit is well formed under its profile. The Lean kernel constructs and verifies the proof and returns the qpcert.
  4. Share and verify. Hand the circuit, claim ledger, and qpcert to a colleague, reviewer, or another agent. They replay the certificate against their own copy of the inputs. Any mismatch is rejected.
  5. Export or simulate. Generate OpenQASM 3, Qiskit, Cirq, or Braket programs that are read back and checked against the certified circuit, or run a local simulation with a clearly labeled observation.

What you get

  • Fail-closed intake: unsupported or ambiguous source is rejected instead of guessed or executed.
  • A proof certificate: a kernel-backed qpcert for the exact normalized circuit and the stated claims.
  • Independent replay: a recipient verifies received evidence against separately supplied circuit and claim inputs.
  • Translation integrity: exported programs are parsed back and checked, so drift between frameworks is surfaced.
  • Explicit measurement accounting: if a terminal measurement is added to make an export or simulation runnable, the receipt says so.
  • Circuit diagrams: a digest-bound PNG or JPEG of the logical wire circuit, shown inline and downloadable.
  • Audit receipts: inputs, verification results, execution mode, observation choices, and artifact references for every step.
  • Research tools: a searchable knowledge base, Lean declaration search, and a corpus of worked proof examples.

Supported inputs and outputs

InputOutput
Templates: GHZ (2 to 4096 qubits), Bernstein-Vazirani, teleportation, Grover (2 to 4096 qubits), QFT (2 to 6 qubits)qpcert proof certificate (stored in File Manager)
Hand-written Qiskit, Cirq, or Braket Python (bounded grammar, never executed)OpenQASM 3, Qiskit, Cirq, and Braket programs with readback receipts
Lean CircuitSpec source (up to 2 qubits small, up to 4 qubits standard)PNG or JPEG circuit diagram bound to the circuit digest
Normalized circuit IR (heyting.quantum_circuit_ir.v1)Local simulator observations and execution receipts
An existing qpcert from another partyIndependent verification result, or the recovered normalized circuit

Gates: id h x y z s sdg t tdg cx cz swap, plus exact cyclotomic phase gates under the exact_cyclotomic_2k_v1 profile. Measurement, reset, and barrier operations are supported.

Who it is for

  • Quantum researchers who need a reproducible, verifiable artifact alongside a paper or dataset.
  • Engineering teams exchanging circuits between people, agents, or pipelines and translating them across frameworks.
  • Auditors and reviewers who must confirm a received circuit and certificate without trusting the sender.
  • Educators and students learning how formal verification applies to quantum circuits.

When plain Qiskit is the better choice

For a quick experiment, a tutorial, or a disposable Bell pair, have your agent write Qiskit directly. Use this tool when the circuit is consequential: it will be published, evaluated automatically, exchanged between parties, translated across providers, or relied on as a verified artifact.

What the proof does and does not mean

  • It proves only the claims explicitly encoded and accepted by the verifier, not every desirable property of the circuit.
  • Structural validation, circuit diagrams, provider-source parsing, and round-trip checks are not proof.
  • Simulation returns sampled observations. It is not a proof tier and says nothing about physical hardware fidelity.
  • Provider exports are offline programs. They are not evidence that a provider or quantum device executed them.
  • Submitted Lean runs as trusted_direct_v1 in the shared service container. Callers are authenticated, but this is not untrusted-code isolation. Submit only Lean you trust.

Cost and timing

Research and inspection actions cost 1 to 3 credits. Certification, verification, extraction, export, and simulation cost 10 to 15 credits each and run as background tasks. A typical proof completes in 3 to 5 minutes; polling the task is free.

Glossary

  • qpcert: a quantum proof certificate. A file that binds a normalized circuit, a claim ledger, and a Lean proof, and that can be replayed by anyone.
  • Claim ledger: the explicit list of properties to prove, each tied to the circuit's digest.
  • Well formed: the default claim. The circuit has qubits and operations and is admitted by its semantic profile. It does not claim a target state or algorithm result.
  • Semantic profile: the gate set and interpretation the circuit is checked under, such as exact Clifford+T or stabilizer.
  • Lean kernel: the pinned Lean 4 proof checker that constructs and replays every certificate.

Frequently Asked Questions

How do I connect this tool to an external agent?

Install commands

npm install -g @agentpmt/mcp-router
agentpmt-setup

Hosted MCP config

{
  "mcpServers": {
    "agentpmt": {
      "type": "streamable-http",
      "url": "https://api.agentpmt.com/mcp",
      "headers": {
        "Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
        "x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
      }
    }
  }
}

How does an external agent use this tool?

Agent prompt

Use the AgentPMT-Tool-Search-and-Execution tool. First call action 'get_instructions' so you know how to use the tool search interface. Then call action 'get_schema' with tool_id 6a7e5036b8c970a6773201b5 ("Quantum Circuit Builder with Proof"). After reading the schema and any returned instructions, tell me what this tool can do, we are going to be using it

Can I see a diagram of my circuit?

Can I submit untrusted Lean code?

Does a qpcert prove that every aspect of the circuit is correct?

Does provider export prove that the circuit ran on quantum hardware?

How does someone else verify a certificate I send them?

How long does certification take, and what does it cost?

What does "well formed" mean, and is that the default proof?

What is a qpcert?

Which algorithm templates are included?

Which quantum frameworks and formats are supported?

Why do exported programs contain measurements I did not write?

Why use this instead of asking an agent to write Qiskit directly?

Looking for help integrating AI into your business? Set up a free consultation.