A quantum comparator for finding the largest integer between two given integers.
The function find_the_largest_number(a, b)
in qomparator.py
returns the
largest integer between a
and b
.
You just need to install all dependencies by running poetry install
before
calling the function.
There are some basic test cases in qomparator_test.py
.
You can run them by executing the following command:
$ python -m unittest qomparator_test.py