==========
quantum computing library using C++
Quantum is a library of functions and classes for simulating the action of a quantum computer using C++. It contains two classes - QubitSystem and QuantumGate - that simulate the two primary structures used in quantum computing, quantum bits (qubits) and gates that operate on systems of one or more qubits.
Encapsulation is used to enforce the limitations that make programming for a quantum computer fundamentally different than for a classical computer. The operations that can be performed on an object of the class QubitSystem, which represents a system of one or more possibly entangled qubits, are essentially limited to applying the action of a unitary quantum gate on the system and "observing" the system, which collapses it to a pure state. This allows the user to design, implement, and test algorithms in a natural way under the constraints inherent to quantum computing.
The Quantum library has an extremely compact and intuitive interface, making it easy to learn and use for anyone familiar with C++. It fits easily within a larger C++ program, so that mixing classical and quantum programming is effortless. For examples of use, see the unit tests in the test/ directory.
Dependencies: -GNU Scientific Library (GSL) -Basic Linear Algebra Subprograms (BLAS) -CMake
The following dependencies are needed only in order to be able to run the unit tests: -Google Test -Pthreads
Scripts are provided for installing QAS using CMake. To install:
-
Edit any of the CMakeLists.txt files (located in the main directory, lib/, and test/) as necessary.
-
Navigate to the build/ directory.
-
Configure and auto-generate a Makefile by typing: $ cmake ..
-
Generate the library and test executable by typing: $ make
-
Optionally, run the test suite by navigating to the test/ directory and typing: $ ./run_tests
MIT License
Copyright (c) 2018 Adysen Innovation Laboratory
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Contact: info@radii.in
this is the shared invite to the channel space at radii corps Holding Bay Talk to our dev team
for publications and more products https://edu.radii.in/