lepton

Lepton is an educational collection of quantum simulators designed to run on small devices.

https://github.com/qdna-yonsei/lepton

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: aps.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.5%) to scientific vocabulary

Keywords

quantum quantum-computing simulator
Last synced: 6 months ago · JSON representation ·

Repository

Lepton is an educational collection of quantum simulators designed to run on small devices.

Basic Info
  • Host: GitHub
  • Owner: qDNA-yonsei
  • License: apache-2.0
  • Language: C
  • Default Branch: main
  • Homepage:
  • Size: 1.75 MB
Statistics
  • Stars: 5
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
quantum quantum-computing simulator
Created almost 3 years ago · Last pushed about 1 year ago
Metadata Files
Readme License Citation

README.md

Lepton

Lepton is an educational quantum simulator designed to run on small devices with two key objectives. Firstly, it aims to be didactic by providing complete access to all mathematical routines and simulation steps in its easy-to-read source code. Secondly, it is optimized to run efficiently on small devices, including 8-bit computers. Keeping a small device as a baseline can help ensure that the code remains simple and efficient.

Although it is not intended to replace existing quantum simulation libraries, such as Qiskit or Pennylane, Lepton offers a unique approach to quantum simulation that is both accessible and efficient.

Demo

Lepton is shown operating on an MSX1 computer with a Zilog Z80 CPU running at 3.58 MHz and 64 kilobytes of RAM, demonstrating its compatibility with low-resource computing systems (find out more at docs.).

https://github.com/israelferrazaraujo/lepton/assets/33506768/a8b915dd-89b7-4552-9338-ffd02fc7fce9

Paper "Elementary gates for quantum computation": https://journals.aps.org/pra/abstract/10.1103/PhysRevA.52.3457

Hotbit HB-8000 MSX computer: https://en.wikipedia.org/wiki/Hotbit

openMSX: https://openmsx.org/

Importance of quantum computing simulators

Quantum computing simulators play a critical role in the development and implementation of practical quantum computing applications. These software programs simulate the behavior of quantum systems, providing researchers and engineers with a controlled environment to experiment with and validate quantum algorithms and circuits.

One of the key advantages of simulators is that they enable researchers to study the behavior of limited-sized quantum systems with high precision. This is particularly useful in the validation of quantum algorithms and protocols, where it is necessary to test and verify the behavior of complex quantum circuits in various scenarios and conditions. By enabling researchers to quickly iterate on their ideas and validate them efficiently, simulators accelerate the development of practical quantum computing applications.

Simulators are also valuable for training and educating students and researchers in quantum computing. They provide a virtual environment where students and researchers can experiment and learn practical skills without the need for physical and expensive resources. As such, simulators are essential tools for building the next generation of quantum computing experts.

However, it is important to note that quantum computing simulators have limitations and cannot completely replicate the behavior of real quantum systems. As such, it is crucial to validate the results obtained using simulators by conducting experiments on real quantum hardware. This is necessary to ensure the reliability and accuracy of the final results. The combination of simulators and real quantum systems will likely be used in tandem in the future, allowing researchers to efficiently validate and optimize quantum circuits while leveraging the unique capabilities of real quantum systems.

Repository folders

  • lepton: The source code of Lepton.

    • lib: Lepton library.
    • examples: Examples of how to program using the Lepton library.
    • simulators: Fully implemented quantum simulators using the Lepton library.
    • tools: Auxiliary tools.
  • make: Scripts for building Lepton.

  • docs: Documentation for both users and developers.

How to build Lepton

Lepton requires Linux to be built, although it may also work on macOS (though this hasn't been tested). For those using Windows 10 or 11, WSL can be used as an alternative.

To build Lepton, you will need the following tools:

  • make and gcc. On Debian-based systems, you can install them with apt-get install build-essential.
  • z88dk v2.2 or newer. To install it on Linux systems, please follow the instructions provided in https://github.com/z88dk/z88dk/wiki/installation#linux--unix.
  • IA-16 GCC toolchain. To install it on Linux systems, refer to the instructions available at https://launchpad.net/~tkchia/+archive/ubuntu/build-ia16/.

To build Lepton, you can use one of the provided makefiles, depending on your target system. Once you have installed the required tools, simply navigate to the relevant directory and run make. Here are the makefiles available:

  • make/linux: builds all binaries for Linux using gcc and copies them to the bin/linux directory.
  • make/cpm: builds all binaries for CP/M (z80) using zcc (z88dk) and copies them to the bin/cpm directory.
  • make/dos: builds all binaries for DOS (8088) using ia16-elf-gcc and copies them to the bin/dos directory.

Authors

Lepton's first version was developed in a collaboration between Quantum Data Science & AI lab (also known as q-DNA) at Yonsei University and Centro de Informática at UFPE.

If you are doing research using Lepton, please cite our project. We use a CITATION.cff file, so you can easily copy the citation information from the repository landing page.

License

Lepton is free and open source, released under the Apache License, Version 2.0.

Owner

  • Name: qDNA-yonsei
  • Login: qDNA-yonsei
  • Kind: organization

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:

- family-names: "Araujo"
  given-names:  "Israel F."
  orcid: "https://orcid.org/0000-0002-0308-8701"

- family-names: "Park"
  given-names: "Daniel K."
  orcid: "https://orcid.org/0000-0002-3177-4143"

title: "Lepton"
version: 0.0.1
doi: 
date-released: 2023-04-04
url: "https://github.com/qDNA-yonsei/lepton"

GitHub Events

Total
  • Watch event: 1
  • Delete event: 1
  • Push event: 3
  • Pull request event: 2
  • Create event: 1
Last Year
  • Watch event: 1
  • Delete event: 1
  • Push event: 3
  • Pull request event: 2
  • Create event: 1