PhotonWeave

Jan 1, 2025 · 1 min read
projects

Photon Weave is a general-purpose quantum simulator framework that focuses on optical simulations in the Fock domain. It aims to be an easy-to-use simulator, abstracting away the complexities of product space management and operation applications for the user.

Core Features

  • Fock Space Management: Describes quantum states with discrete photon numbers using an orthonormal basis.
  • Polarization Support: Native two-dimensional Hilbert space for polarization state manipulation.
  • Custom Hilbert Spaces: Represent arbitrary finite-dimensional quantum systems beyond optics.
  • Multiple Representations: Switch seamlessly between Label (memory-efficient), State Vector (pure states), and Density Matrix (mixed states) using intuitive expand() and contract() methods.
  • Advanced Operations: Built-in support for Fock operations, polarization operations, and custom quantum channels.

Architecture

The framework is built around the representation and manipulation of optical states in various Hilbert spaces, providing a robust mathematical foundation for quantum computing research.

Kareem H. El-Safty
Authors
Quantum Software Engineer | Photonic QML

Quantum software engineer with a photonics backbone. I build power-aware MZI pipelines and CV/Kerr kernels, ship open-source tools (PhotonWeave, KTQ; contributor to Piquasso), and take experiments from notebook to AWS Braket. Ex AI team lead with production ML wins (face verification, anti-spoofing, OCR, industrial vision), former Qiskit Advocate, and active mentor/community builder (QEgypt, Alexandria QCG).

I build the bridge between photonic hardware and quantum software. At TUM I focused on MZI-based photonic processors, CV/Kerr kernels, and joint-detection receivers—and I shipped the reproducible code (tests, docs, CI) behind the papers.