Post-processing
Learn how to implement post-processing and run the quantum Naive Bayes classifier.
We'll cover the following...
We need to post-process the results we receive from the pqc
. If we set the hist
-parameter to False
, the pqc
function returns the counts. These are in a Python dictionary with two keys, '0'
and '1'
. The values assigned to these keys are the number of measurements that yielded the respective key. For instance, if we have ...