Educated Planet
Qubit Lab

§ 7.4 · Quantum algorithms

Bernstein–Vazirani

Save and exitLesson 4 of 7 in Level 7 · about 12 min left Simplified model · in expert review
  1. I.Guess
  2. II.Try it
  3. III.Learn
  4. IV.Check
  5. V.Real world

The question

A box hides a 4-bit secret s. Ask it about any x and it answers the parity of the places where x and s both have a 1. How few questions find s?

Quick guess: there are no wrong answers

You’ll see your guess again at the end.

Pick a guess to continue.