QNLP  v1.0
hamming.hpp File Reference

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>
Include dependency graph for hamming.hpp:
This graph shows which files directly or indirectly include this file:

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
 

Detailed Description

Functions to compute the Hamming distance between a test pattern and the states in memory using y rotations for each similar qubit.

Author
Myles Doyle (myles.nosp@m..doy.nosp@m.le@ic.nosp@m.hec..nosp@m.ie)
Version
0.1
Date
2019-02-08

Definition in file hamming.hpp.