| 
    QNLP
    v1.0
    
   | 
 
Functions to compute the Hamming distance between a test pattern and the states in memory using y rotations for each similar qubit. More...
#include <cassert>#include <utility>#include <memory>#include <cmath>#include <vector>#include <complex>

Go to the source code of this file.
Data Structures | |
| class | QNLP::HammingDistance< SimulatorType > | 
| Class definition for implementing the Hamming distance routine along with controlled Y rotations to encode the Hamming distance into the states' amplitudes.  More... | |
Namespaces | |
| QNLP | |
Functions to compute the Hamming distance between a test pattern and the states in memory using y rotations for each similar qubit.
Definition in file hamming.hpp.