Skip to content

QuantumComputingLab/qpixlpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QPIXL++ - Quantum Image Pixel Library DOI

The QPIXL library currently supports the compilation of compressed quantum circuits for Flexible Representation of Quantum Images (FRQI) that contain quadratically fewer gates than previous implementations of FRQI and are NISQ-friendly as the circuits only contain CNOTs and single qubit rotation gates.

How to run?

The QPIXL++ package uses the CMake build system (CMake version ≥ 3.16). The recommended way of building QPIXL++ is as follows:

  1. Install

     git clone https://github.com/QuantumComputingLab/qpixlpp.git
    
  2. CMake

     cd qpixlpp
     mkdir release
     cd release
     cmake -DCMAKE_BUILD_TYPE=Release ..
     make -j8
    
  3. Run tests

     ./test/qpixl_tests
    
  4. Examples

     ./examples/compressedFRQI ../examples/Example0.pgm ../examples/output 0 0
    

    For help

     ./examples/compressedFRQI --help
    
  5. Generate documentation

     doxygen doxygen.dox
    

References

The QPIXL++ package is based on:

Developers and Contributors - Lawrence Berkeley National Laboratory

1Mercy Amankwah was a summer intern at Lawrence Berkeley National Laboratory during this project.

Funding

The QPIXL++ project is supported by the Laboratory Directed Research and Development Program of Lawrence Berkeley National Laboratory under U.S. Department of Energy Contract No. DE-AC02-05CH11231.

About

Quantum Image Pixel Library (QPIXL++) Copyright (c) 2021, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.

If you have questions about your rights to use or distribute this software, please contact Berkeley Lab's Intellectual Property Office at IPO@lbl.gov.

NOTICE. This Software was developed under funding from the U.S. Department of Energy and the U.S. Government consequently retains certain rights. As such, the U.S. Government has been granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the Software to reproduce, distribute copies to the public, prepare derivative works, and perform publicly and display publicly, and to permit others to do so.