Skip to main content

Quantum Computing operators

7 operators in the quantum_computing category of the live registry. Each is a named formula you can compose inside a state contract or call directly through POST /api/zeq/compute. KO42 is always on; add up to three more per call (total ≤ 4), per the 7-step protocol.

OperatorDescriptionEquation
ENTANGLEMENT_ENTROPYEntanglement entropy S = -Tr(rho * log(rho)) quantifying quantum entanglement via the von Neumann entropy of the reduced density matrix.S = -Tr(\rho \log \rho)
GROVER_SEARCHGrover's quantum search algorithm finding a marked item in O(sqrt(N)) queries, quadratic speedup over classical search.O(\sqrt{N})
QUANTUM_SIMQuantum simulation state |psi> = sum(c_i|i>) representing a quantum system as a superposition of computational basis states.|\psi\rangle = \sum_i c_i |i\rangle
QUBIT_DECOHERENCEQubit decoherence |psi(t)> = e^(-t/T2)*|psi(0)> modeling exponential loss of quantum coherence over time.|\psi(t)\rangle = e^{-t/T_2}|\psi(0)\rangle
QUBIT_FIDELITYQubit state fidelity F = |<psi|phi>|^2 measuring the overlap between an ideal and actual quantum state.F = |\langle\psi|\phi\rangle|^2
QUBIT_GATEQuantum gate operation |psi'> = U|psi> applying a unitary matrix U to transform a qubit state.|\psi\'\rangle = U|\psi\rangle
SHOR_FACTORShor's factoring algorithm decomposing an integer N in O((log N)^3) time using quantum Fourier transform.O((\log N)^3)

Compute with one of these

curl -sS -X POST https://zeqsdk.com/api/zeq/compute \
-H "Authorization: Bearer $ZEQ_KEY" \
-H "Content-Type: application/json" \
-d '{"operators":["ENTANGLEMENT_ENTROPY"],"inputs":{}}'

The response carries the bare physics value, its unit and uncertainty, the generated master equation, and a signed envelope you can verify on any node.

See also