concept boolean in category quantum computing
appears as: boole

This is an excerpt from Manning's book Quantum Computing for Developers: A Java-based introduction.
We can show this with some Java code. First, let’s assume you use a classical computer with a single bit, and you apply a function to that bit. You will use the boolean type as this is the Java primitive type that can hold 2 values: false and true, corresponding to 0 and 1.