Synapse Language

An interpreted language for uncertainty-aware scientific computing, with built-in quantum circuit simulation and parallel blocks.

early stage The features listed below run and are covered by tests. Larger programs under examples/roadmap/ are design targets and do not execute yet.

Try it

A first program

x = 3 ± 0.2
print(x * 2)
print(x - x)
6.0 ± 0.4
0.0 ± 0.0

Uncertain values carry their sources, so a variable used twice in one formula is one variable. Output above is from the repository build of 2026-09-11.

What runs today

Documents in this folder

Reference material kept with the repository. Some of it describes roadmap features that do not run yet; where a document and the README disagree, the README is current.

Limits

Propagation is first order and treats declared values as normal unless told otherwise. The quantum simulator has no noise model and no hardware backend. Source runs trusted and in-process. Nothing here has been validated on real instrument data yet. Not the same thing as Talon's .synapse score files, which are a separate music notation language.