qubithubdeutsch-jozsa
Determines whether a black-box function is constant or balanced with a single query, where a deterministic classical algorithm needs up to 2^(n-1)+1 queries to be certain; a randomized classical algorithm needs only a few. Shows quantum parallelism, phase kickback and interference at work.
- Framework
- Qiskit
- Qubits
- 3
- Depth
- 6
- Gate set
- H, X, CX
- Licence
- Apache-2.0
- Version
- v1
- Updated
- 4 days ago
- Runs
- 3 completed
Circuit
circuit.py · Qiskit · depth 6Loading circuit diagram…
metadata.json · 455 B
Code
Loading metadata.json…
Lineage
Not a fork.
No forks yet.
Suggested citation
@software{qubithub_deutschjozsa_2026,
author = {QubitHub Circuits},
title = {Deutsch-Jozsa Algorithm},
year = {2026},
version = {v1},
url = {https://qubithub.co/circuits/e5edb71d-a05a-577b-973a-48a12d912831},
note = {https://qubithub.co/qubithub/deutsch-jozsa},
}Generated from this circuit's metadata. QubitHub does not mint DOIs, so this is not a registered identifier. Check it against your venue's requirements before publishing.