Logic Expressions to Quantum Circuit
So far, we’ve talked about quantum gates operating one at a time for the most part. Now, we’re ready to put our knowledge of them to use by seeing how quantum gates can represent logic equations, a crucial first step to ultimately searching for a valid solution to them.
To keep things simple, we’ll work with just the logic equations for
slotting the talk show hosts, Kimmel and Maher,
at the Bellagio,
described in Writing a System of Boolean Logic Expressions.
Since we’ll be using quantum bits to model the
binary variables, we use
and
, instead of
k and m, to express the
logic expression, namely:
and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access