multiplexed_toric
C++ implementation of multiplexed toric codes simulator
Science Score: 54.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
-
✓Academic publication links
Links to: arxiv.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.6%) to scientific vocabulary
Keywords
Repository
C++ implementation of multiplexed toric codes simulator
Basic Info
Statistics
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
- Releases: 0
Topics
Metadata Files
README.md
Multiplexed Toric Codes on Erasure Channel
This is a C++ implementation of multiplexed toric codes simulator.
Simulation Flow
You can simulate the multiplexed quantum communication with surface code by g++ -O2 -std=c++20 *.cpp -o main && "your_path/multiplexed_toric/src/"main; and then you get result.json.
Simulation flows are:
- Multiplexing (assign qubits to photons)
- Erasure error on a photon -> erasure errrors on multiple qubits
- Replace erased qubits with mixed state -> erasure can be regarded as a random Pauli error.
- X stabilizer measurement
- Run peeling decoder
- Determines if any Z logical errors remain after decoding.

The default error model is erasure with main_with_loss_error();. Combined error model (random Z + Erasure + random Z) is also available in main_with_combined_error().
You can visualize the result of the simulation as .png file with python python draw_toric.py LATTICE_SIZE_V LATTICE_SIZE_H "result.json"; with lattice sizes (python draw_toric.py 10 10 "result.json"; works for the default case).
You will get something like this:
python drawtoric.py LATTICESIZEV LATTICESIZE_H "result.json";
Requirements
- nlohmann/json
- JSON library for C++
Citation
ArXiv submission is available at HERE. For the citation of this work, please use this bibtex file.
@misc{nishio2024multiplexed,
title={Multiplexed Quantum Communication with Surface and Hypergraph Product Codes},
author={Shin Nishio and Nicholas Connolly and Nicolò Lo Piparo and William John Munro and Thomas Rowan Scruby and Kae Nemoto},
year={2024},
eprint={2406.08832},
archivePrefix={arXiv},
primaryClass={id='quant-ph' full_name='Quantum Physics' is_active=True alt_name=None in_archive='quant-ph' is_general=False description=None}
}
Owner
- Name: Shin Nishio
- Login: parton-quark
- Kind: user
- Location: Tokyo, Japan
- Company: National Institute of Informatics(Japan)
- Website: http://parton.info/
- Twitter: shin_tsujido
- Repositories: 1
- Profile: https://github.com/parton-quark
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: C++ implementation of multiplexed toric codes simulator
message: Please cite this repository as this file shows.
type: software
authors:
- given-names: Shin
family-names: Nishio
email: parton@nii.ac.jp
affiliation: National Institute of Informatics
orcid: 'https://orcid.org/0000-0003-2659-5930'
repository-code: 'https://github.com/parton-quark/Multiplexed_Toric'
keywords:
- Quantum Communication
- Quantum Multiplexing
- Surface code
- Quantum Error Correction
- Fault-tolerant Quantum Computing
license: Apache-2.0
date-released: '2024-05-01'
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1