Skip to content

Optical circuits in Qiskit. Translate Qiskit circuits to quantum-optical circuits made of phase shifters and beamsplitters, simulate the circuit, then translate the outcome back to a qubit encoding.

License

SOQCSAdmin/QoptKIT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quantum Optical KIT for QISKIT (QoptKIT)

Optical circuits in Qiskit. Translate Qiskit circuits to quantum-optical circuits made of phase shifters and beamsplitters, simulate the circuit, then translate the outcome back to a qubit encoding. The aim of this library is to introduce quantum optical technologies to QISKIT users.

QoptKIT capabilities:

  • Create a circuit made of phase shifters and beamsplitters
  • Create a simulator
  • Run the simulation
  • Translate a QoptKIT outcome into qubit encoding.
  • Print the output statistics.

1. Requirements

  • Linux or MacOsX operating system
  • C++ Compiler
  • GNU Make
  • Eigen 3
  • Python3
  • qiskit

2. Installation

pip install git+https://github.com/SOQCSADmin/QoptKIT

This library has various C++ files that have to be compiled. It is necessary to have installed a C++ compiler and the tools make and ar. These are standard tools available for any Linux distribution. Use you preferred package installer to have them available in your system. QoptKit also requires the C++ library Eigen 3 to be installed in your system. This library is also available in most of the Linux distributions.

Python libraries qiskit, matplotlib and numpy are required but they will be installed automatically. We recommend the use of conda but it is not required.

3 Documentation

The documentation can be found in https://soqcsadmin.github.io/QoptKIT/

4. Authorship

Javier Osca
soqcslib@gmail.com

Jiri Vala
jiri.vala@mu.ie

5. License and Copyright

Copyright (c) 2023 National University of Ireland Maynooth, Maynooth University.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

6. Version release history.

  • V1.1 Updated for QISKIT 1.0
  • V1.0 for QISKIT 0.37

About

Optical circuits in Qiskit. Translate Qiskit circuits to quantum-optical circuits made of phase shifters and beamsplitters, simulate the circuit, then translate the outcome back to a qubit encoding.

Resources

License

Stars

Watchers

Forks

Languages