Home

Gates
Circuits
Documentation

Adding quantum gates

Gate schema

See the gate schema quantum-gate-schema.json in this project's Git repository for the rules for defining the JSON gate data.

Gate ID

Make sure your gate is defined by a unique gate identifier (a short string).

Function definition

The functionality of a gate can be defined by either a unitary matrix or a quantum circuit.