Discover Circuits

3 public circuits shared by the community

tag:oracle
OpenQASM
Simon's Algorithm (2-bit)
Simon's algorithm for a 2-bit input. Finds hidden period s of f(x) = f(x ⊕ s) exponentially faster than classical.
@quantumcomputer4q8g00
OpenQASM
Bernstein-Vazirani
Finds a hidden binary string s in a single query to f(x) = s·x mod 2.
@quantumcomputer4q11g00
OpenQASM
Deutsch-Jozsa (2 qubit)
The simplest Deutsch-Jozsa algorithm on a 2-qubit oracle. Determines if a function is constant or balanced in one query.
@quantumcomputer2q6g00