QNLP
v1.0
|
▼ intel-qnlp-rc2 | |
▼ modules | |
▼ encoding | |
bin_into_superpos.hpp | Defines class which introduces routines for encoding binary numbers represented as unsigned integers into a superposition of quantum states. The amplitude of each state will be even. The method used follows the approach outlined in the paper https://arxiv.org/abs/quant-ph/0210176v2 by C. A. Trugenberger. * |
test_bin_into_superpos.cpp | |
▼ gate_ops | |
▼ arithmetic | |
arithmetic.hpp | |
test_arithmetic.cpp | Tests for quantum arithmetic using the (QFT) implementation |
▼ bit_group | |
bit_group.hpp | Implements grouping of bits to LSB side of register |
test_bit_group.cpp | |
▼ diffusion | |
diffusion.hpp | Defines class with operator which applies the Grover diffusion to a marked register. Follows the Q = -A S_0 A structure as defined in https://arxiv.org/pdf/quant-ph/0005055.pdf |
test_diffusion.cpp | |
▼ ncu | |
ncu.hpp | Functions for applying n-qubit controlled U (unitary) gates |
test_ncu.cpp | |
▼ oracle | |
oracle.hpp | Functions for applying black-box like functions to select appropriate qubits matching given patterns |
test_oracle.cpp | |
▼ qft | |
qft.hpp | Implements the forward and inverse quantum Fourier transform |
test_qft.cpp | Tests for the quantum Fourier transform (QFT) implementation |
▼ hamming | |
hamming.hpp | Functions to compute the Hamming distance between a test pattern and the states in memory using y rotations for each similar qubit |
test_hamming.cpp | |
▼ io | |
▼ db | |
corpus_utils.cpp | |
corpus_utils.hpp | |
db_helper.cpp | Database access and manipulation functions |
db_helper.hpp | Database access and manipulation functions |
test_db.cpp | Unit tests for the 'db' module. Classes tested: [DBHelper, CorpusUtils] |
▼ GateWriter | |
GateWriter.hpp | |
test_gatewriter.cpp | |
▼ py | |
▼ bindings | |
▼ PyQNLPSimulator | |
__init__.py | |
Simulator_pybind11.cpp | |
setup.py | |
▼ pkgs | |
▼ CircuitPrinter | |
__init__.py | |
circuit_printer.py | |
▼ QNLP | |
▼ encoding | |
__init__.py | |
encoder_base.py | |
gray.py | |
obrien.py | |
simple.py | |
utils.py | |
▼ io | |
__init__.py | |
qnlp_db.py | |
▼ proc | |
__init__.py | |
basis_check.py | |
DisCoCat.py | |
HammingDistance.py | |
load_basis.py | |
process_corpus.py | |
VectorSpaceModel.py | |
VerbGraph.py | |
▼ tagging | |
__init__.py | |
tag_file.py | |
test_tagging.py | |
word_types.py | |
__init__.py | |
setup.py | |
▼ scripts | |
main_basis_check.py | |
main_process_corpus.py | |
ncu_opt_tester.py | |
QNLP_EndToEnd_MPI.py | |
QNLP_Overlap.py | |
QNLP_Python_MPI.py | |
run_scaled_exp.sh | |
run_script_py_MPI.sh | |
simple_MPI.py | |
▼ simulator | |
IntelSimulator.cpp | |
ISimulator.hpp | Define thee abstract interface class for implementing the QNLP-quantum simulator connector |
sim_factory.cpp | Implementation of Factory methods for generating the chosen subclassed Simulator object |
Simulator.hpp | |
test_simulator.cpp | Tests for the simulator interface |
▼ test | |
test_main.cpp | |
▼ utils | |
GateCache.hpp | |
mat_ops.hpp | Templated methods to manipulate small matrices |
Singleton.hpp | Singleton object pattern header. Follows Meyers singleton pattern |