Skip to main content

Quantum Computing operators

7 operators in the quantum_computing category of the live registry. Compose them in a contract or call POST /api/zeq/computeKO42 is always on, plus up to three more per call.

How it computes: dedicated closed-form solver solveQR — real equations over CODATA-2018 constants; where an operator needs a series/matrix/field a scalar cannot express, it refuses honestly. See the solvers.

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 one — a real call

Ask the operator which inputs it needs (the honesty contract refuses empty inputs rather than inventing them):

curl -sS -X POST https://zeqsdk.com/api/zeq/operator-spec \
-H "Content-Type: application/json" \
-d '{"operator":"ENTANGLEMENT_ENTROPY"}'

See also