Skip to main content
Q/S — N/MN/M v0.2.0 · Preview

Quantum software should be
explainable.

Write an N/M program, trace its transformation into a circuit, and reproduce every result.

Current boundary: public runs use local simulation, not connected quantum hardware. Product capabilities are explicitly marked stable, preview, or experimental.

Scroll down

From source to local execution evidence

Source/01

  1. 1module home_evidence;
  2. 2@seed(7);
  3. 3fn main() {
  4. 4 let q = qreg[4];
  5. 5 sample 1024 {
  6. 6 H(q[0]);
  7. 7 CNOT(q[0], q[1]);
  8. 8 X(q[2]);
  9. 9 CCNOT(q[0], q[1], q[3]);
  10. 10 measure(q[0]);
  11. 11 measure(q[1]);
  12. 12 measure(q[2]);
  13. 13 measure(q[3]);
  14. 14 }
  15. 15 return q;
  16. 16}

Compile/02

N/M 0.2.0 — compile passed

Diagnostics: 0

Source lines
16
Qubits
4
Depth
4
Gates
4

Circuit/03

Source-matched circuit with 4 qubits, 4 gates and 4 measurementsq[0] |0⟩q[1] |0⟩q[2] |0⟩q[3] |0⟩HMMXMM
12345678

Evidence/04

Backend
statevector
Shots
1024
Seed
7

Finite-shot histogram

0100
470
1111
554

✓ Seeded local result
The displayed source ran in the N/M local simulator; this is not hardware execution.

Not just a run. A traceable experiment.

  • Versioned results
  • Open RFC decisions
  • Explicit capability levels
  • Reproducible execution

How does N/M think?

  1. 1module home_evidence;
  2. 2@seed(7);
  3. 3fn main() {
  4. 4 let q = qreg[4];
  5. 5 sample 1024 {
  6. 6 H(q[0]);
  7. 7 CNOT(q[0], q[1]);
  8. 8 X(q[2]);
  9. 9 CCNOT(q[0], q[1], q[3]);
  10. 10 measure(q[0]);
  11. 11 measure(q[1]);
  12. 12 measure(q[2]);
  13. 13 measure(q[3]);
  14. 14 }
  15. 15 return q;
  16. 16}
Prepare
Hadamard creates equal superposition.
Connect
Control q[0], target q[1].
Flip
X sets q[2] to |1⟩.
Condition
Toffoli uses two controls and one target.
Record
Four qubits are measured with separate measure calls.

Transformation: N/M → Circuit

H(q[0]);
CNOT(q[0], q[1]);
X(q[2]);
CCNOT(q[0], q[1], q[3]);
measure(q[0]);
measure(q[1]);
measure(q[2]);
measure(q[3]);

The circuit is generated from the displayed N/M source; the histogram shows a seeded local simulator result from the same source.

Bounded, versioned, reviewable

Algorithm directory

Open the full algorithm gallery →
AlgorithmStatusRangeRuntimeEvidence
Deutsch–Jozsa 0.2 Preview2sim.local/statevector✓ Local record
Bernstein–Vazirani 0.2 Preview4sim.local/statevector✓ Local record
Generic Grover ExperimentalN=2..5sim.local/statevector✓ Local record
Generic Oracles 0.2 Lab ExperimentalDJ/BV≤99sim.local/stabilizer✓ Local record

Execution scope: The circuit and record above explain the product contract; they are not connected-hardware telemetry.

We do not hide the limits.

Public runs use local simulation, not connected quantum hardware. Stable, preview, and experimental capabilities are separated by the current N/M manifest.

CapabilityStablePreviewExperimental
Parser and syntax diagnosticsStable
Exact statevector runtimeStable
Stabilizer runtimePreview
Multi-file workspacePreview
Generic oraclesExperimental
Measurement-conditioned controlExperimental
Hardware execution interfaceExperimental

Read · Design · Experiment

Research with its sources

Open research and technical notes
RecordTitleTypeContextOpen
QEC-NATUREError correction below the surface-code thresholdExternal literatureNature · online 2024 / volume 2025
OPENQASM-3OpenQASM 3 language designExternal literaturearXiv 2021 · journal 2022
NM-RFC-0035Bounded classical functionsN/M design noteNM-RFC-0035 · check capabilities for support
FTQC-EXAMPLESurface-code resource estimateEducational experimentLocal model · approximate resource estimate

External publications belong to their respective researchers. N/M notes describe software design; experiments describe a stated model’s behaviour. These are not QuantumSoftware physical hardware results.

Get in Touch

Interested in our technology, research collaborations, or partnership opportunities? We'd love to hear from you.

General Inquiries

info@quantumsoftware.tech

Research Collaborations

research@quantumsoftware.tech