Published February 11, 2026 | Version v1
Computational notebook Restricted

Photonic-computing error correction through optical en-/decoder calibrations: Matlab code

  • 1. EDMO icon Danmarks Tekniske Universitetet
  • 2. ROR icon Technical University of Denmark

Description

Supplementary code for the paper:

A. Carstensen et al., "Photonic-computing error correction through optical en-/decoder calibrations"

This code reproduces the figures in the manuscript. Exact plots will differ from run to run due to different random number seeds and numbers of sample instances (more instances give cleaner plots, but take longer to compute).

The figures are produced by the files:
- FIG4a_sim.m
- FIG4bc_sim.m
- FIG5_sim.m
Loading the files:
- FIG4a_data.mat
- FIG4bc_data.mat
- FIG5_data.mat
, recreates the plot data used in the manuscript.


Requirements:
- MATLAB R2025
- MATLAB toolboxes: Parallel computing toolbox (Not required, but it makes it faster).

Files

Restricted

The record is publicly accessible, but files are restricted to users with access.