Skip to content

phibal12/QFLCS

Repository files navigation

QFLCS: Quantum Field Lens Coding Simulator

Technical: On GitHub Mendeley Badge VSCode Badge Code in Python v>3.1 Jupyter Lab Open in Code Ocean

Social: GitHub Profile Author's LinkedIn

Academic: Author's ORCID

Legal: CC BY 4.0


This repository contains the code for the QFLCS (Quantum Field Lens Coding Simulator) as part of its algorithm, QFLCA (Quantum Field Lens Coding Algorithm) project. The project repositories are available at https://data.mendeley.com/datasets/gf2s8jkdjf/3 and https://doi.org/10.24433/CO.9905505.v2, which include the code, project website documentation, and demo video files.

1D QDF circuit

The QFLCS program analyzes the measurement outcome probability ($\cal P$) data from datasets generated by Quantum Double-field (QDF) Circuits. The datasets are compared between ES and GS states as a $\cal P$ indicator generated for measurement samples. Small dataset samples denote:

QDF_Demo Line
QDF Heat Engine Sampling from the Oldest Postal Stamp and Simulating the I/O by QFLCS
  • a) A particle pair’s energy state in a QDF (different GS states or sublevels of a GS, or see Sec. 3 of the published article),
  • b) a particle state in an SF, an ES relative to a GS from (a.), prior to its transform into a QDF, and,
  • c) the expected transformation of fields (ES $\longleftrightarrow$ GS) and their $⟨{\frak M}(\cal{P}, \psi_{ij})⟩$, as in Sec. 3 of the published article.
k-trans-QDF-P-measure-IN
QDF Circuit Measured from a Sum ( Σ ) of Single Field (SF) to QDF Transformations of Qbit-pairs

This repository's file structure is a sample mirror of the Mendeley repository file structure of v3+ at https://data.mendeley.com/datasets/gf2s8jkdjf/3, but with a much smaller file size for efficient download and use of the QFLCA project's code without the documentation (website) and demo video files. Certain small updates have been made in the main python file uploaded on Code Ocean for minor debugging purposes at https://doi.org/10.24433/CO.9905505.v2 or Code Ocean.

  • QFLCA project's code without the documentation (website) and demo video files can be found under the </code/root/lab/sim/QFLCC classifiers> directory in </code/root/lab/sim/QFLCC classifiers/docs> and </code/root/lab/sim/QFLCC classifiers/site> folders at https://doi.org/10.24433/CO.9905505.v2 or Code Ocean.
  • The main file is </code/root/lab/sim/QFLCC classifiers/QAI-LCode_QFLCC> which imports and executes the </code/root/lab/sim/QFLCC classifiers/QDF-LCode_IBMQ-2024-codable> or QDF-LCode_IBMQ-2024 code for the simulation under Win OS or Linux OS.
QInspire QDF_Circuit Experiment
QInspire QDF Circuit Experiment
↕      ↕
QInspire QDF_Circuit_Experiment Results
QInspire QDF Circuit Experiment Results
IBM QDF_Circuit_Experiment
IBM QDF Circuit Experiment
${\color{orange}{In(}} {\color{red}{[\ QInspire\ ,\ IBMQ\ ]\ } }QDF\ Circuit\ {\color{orange}{) → }} {\color{orange}{QFLCS}} {\color{orange}{ →  Out(}}{ {\color{red}{[\ QInspire\ ,\ IBMQ\ ]\ }} QDF\ Circuit\ Data\ }{\color{orange}{) →  In(}}{\color{green}{QFLCC}}{\color{orange}{) →  Out(↴)}}$
QDF_Circuit_Sim and Dataset Analysis
${\color{red}{[\ QInspire\ ,\ IBMQ\ ]\ }} QDF\ Circuit\ Simulation\ and\ Dataset\ Analysis\ by\ QFLCS\ and\ QFLCC$
  • We recommend downloading the entire <root/...> directory according to the folder structure and run [QAI-LCode_QFLCC.py] in VSC with python latest packages installed for Windows OS (the QDF game is developed for Windows OS, yet parts of the code for sound and display can be rewritten for Linux OS), e.g. "winsound" package as a compatible option. Other packages are needed to be installed or code rewritten for "sound" and "display" compatibility under other operating systems.
  • The [QAI-LCode_QFLCC.py] file has a Pygame GUI and other packages suited for local machine runs, rather than running this file on the Code Ocean platform which could take hours to compile and run a compatible program/game with packages. However, the [QDF-LCode_IBMQ-2024-codable.py] can be run here as the core of the simulation program simulating the QDF circuit. A short presentation explaining these points are given in the </site/assets/video> directory as the [QAI-COcean-Demo.mp4] file from Code Ocean.
QDF Game Intro from the QFLCA/QFLCS program
  • The User and Developer's documentation/manual/demo is found under the </code/root/lab/sim/QFLCC classifiers> directory, as <site-prints/...> and <site/...> contents.
  • In each folder: <QFLCC classifiers/IBMQ>, <.../sim/QAI>, </QFLCC classifiers>, and <QI/...>, under </code/root/lab/sim>, [Tips.txt] and/or [ReadMe.txt] files exist to explain the contents of that directory. Also, under </code/root/lab> directory, a ReadMe file exists explaining the manual computation and presentation parts of the project.
QDF Game Scores Screenshot
QDF Game Scores on Wins and Losses of the User/Gamer based on the Input Samples by the QFLCS
  • Graphical Abstract files can be accessed from </code/root>.

Visual Project Summary

The QFLCA project is going through stages of development resulting in software products, such as QFLCC and QFLCS programs. These products have been summarized in form of peer-reviewed published articles with their corresponding Graphical Abstracts representing this project.

QFLCS Graphical Abstract (SIMPAC journal)
Graphical Abstract of QFLCS
QFLCA Graphical Abstract (DIB journal)
Graphical Abstract of QFLCA Dataset
QFLCA Graphical Abstract (MethodsX journal)
Graphical Abstract of QFLCA Model and Method

Citation

If you find this repository useful in your research, please cite one or both of the following articles as:


  • P. B. Alipour, T. A. Gulliver, QF-LCA Dataset: Quantum Field Lens Coding Algorithm for System State Simulation and Strong Predictions, Data in Brief, Eslevier BV, 2024, 110789, ISSN 2352-3409, https://doi.org/10.1016/j.dib.2024.110789.
@article{110789, 
author = {Alipour, P.B. and Gulliver, T.A.},  
title = {QF-LCA Dataset: Quantum Field Lens Coding Algorithm for System State Simulation and Strong Predictions}, 
journal = {Data in Brief, Eslevier BV}, 
year = {2024}, 
artnum = {110789}, 
doi = {10.1016/j.dib.2024.110789}, 
url = {https://www.sciencedirect.com/science/article/pii/S2352340924007546} 
}
  • P. B. Alipour, T. A. Gulliver, QF-LCS: Quantum Field Lens Coding Simulator and Game Tool for Strong System State Predictions, Software Impacts, Eslevier BV, 2024, 100703, ISSN 2665-9638, https://doi.org/10.1016/j.simpa.2024.100703.
@article{100703, 
author = {Alipour, P.B. and Gulliver, T.A.}, 
title = {QF-LCS: Quantum Field Lens Coding Simulator and Game Tool for strong system state predictions}, 
journal = {Software Impacts, Eslevier BV}, 
pages = {100703}, 
year = {2024}, 
issn = {2665-9638}, 
doi = {doi.org/10.1016/j.simpa.2024.100703}, 
url = {https://www.sciencedirect.com/science/article/pii/S2665963824000915} 
}

CC BY 4.0

This work is licensed under a Creative Commons Attribution 4.0 International License.

CC BY 4.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published