QNLP  v1.0
bit_group.hpp File Reference

Implements grouping of bits to LSB side of register. More...

#include <algorithm>
Include dependency graph for bit_group.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  QNLP::BitGroup< SimulatorType >
 Class definition for bit-wise grouping in register. More...
 

Namespaces

 QNLP
 

Detailed Description

Implements grouping of bits to LSB side of register.

Author
Lee J. O'Riordan (lee.o.nosp@m.rior.nosp@m.dan@i.nosp@m.chec.nosp@m..ie)
Version
0.1
Date
2019-04-02 @detailed This header file introduces routines for bit-wise shifting of set bits to the side of a register (ie |01010> -> |00011>). Note: yes, we are cheating to reset the qubits by Hadamrding and measuring in Z-basis. Uncompute steps to follow.

Definition in file bit_group.hpp.