Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quantum Kernels for Dynamical Singularities

Code and data accompanying the paper:

Diego Tancara, Jose Fredes, and Ariel Norambuena, "Quantum kernels for classifying dynamical singularities in a multiqubit system", Quantum Science and Technology 9, 035046 (2024).

This repository contains MATLAB simulations used to generate binary labels for dynamical singularities in multiqubit systems. The labels are built from discretized spherical angles (theta, phi) and indicate whether the system exhibits a dynamical singularity.

Repository layout

Codes/
  Closed System/
    Main_Data_Generator_Closed_System.m
    GenerateDataDQPT.m
    getDQPT_SystemDynamics.m
  Open System and Oscillatory Magnetic Field/
    Main_Data_Generator_Open_System_Oscillatory_Field.m
    getDQPT_OscillatingControl.m
    getDQPT_MarkovianNoise.m
    SolvesMasterEquation.m
    LindbladSuperOperator.m
Data/
  Figure 1/
  Figure 3/
  Figure 4/
  Table 1/
docs/
  DATASETS.md
  REPRODUCIBILITY.md

Data format

All released data files are comma-separated text files without a header. Each row has:

theta, phi, y

where y = +1 means the system exhibits a dynamical singularity and y = -1 means it does not. The angle grids and row counts vary by figure or table; see docs/DATASETS.md.

Requirements

  • MATLAB with support for writematrix, parfor, and string-based paths.
  • Parallel Computing Toolbox is useful for the parfor loops.
  • Statistics and Machine Learning Toolbox is used for gscatter plotting.

The precomputed files in Data/ can be inspected without rerunning the simulations.

Regenerating data

From the repository root in MATLAB:

cd("Codes/Closed System")
Main_Data_Generator_Closed_System

For the open-system and oscillatory-field examples:

cd("Codes/Open System and Oscillatory Magnetic Field")
Main_Data_Generator_Open_System_Oscillatory_Field

Large grids can take substantial time because the Hilbert-space dimension grows with the number of spins and each grid point requires time evolution. See docs/REPRODUCIBILITY.md for details and maintenance notes.

Citation

If you use this code or data, please cite:

@article{Tancara2024QuantumKernels,
  author  = {Tancara, Diego and Fredes, Jose and Norambuena, Ariel},
  title   = {Quantum kernels for classifying dynamical singularities in a multiqubit system},
  journal = {Quantum Science and Technology},
  volume  = {9},
  pages   = {035046},
  year    = {2024},
  doi     = {10.1088/2058-9565/ad5228}
}

License

No explicit license file is currently included. Add a license before defining reuse or redistribution terms for the repository.

About

Official Repository for "Quantum kernels for classifying dynamical singularities in a multiqubit system"

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages