Tomography

The tomography modules provides routines for performing state and process tomography on circuits within lightworks. It assumes that a dual-rail encoding scheme is used with pairs of adjacent photonic modes. More information about how to perform the different kinds of tomography can be found in the corresponding sections.

Contents

Overview

Performing tomography in Lightworks consists of the following steps:

  1. The target tomography object is created by providing the number of qubits & the circuit to examine.

  2. get_experiments is used to generate all of the required experiments for the target algorithm. For state tomography, each experiment consists of a modification to the initial circuit. Process tomography is the same, but also contains specification for the input state to the system.

  3. These experiments are then run by the user on the selected backend, with their chosen settings.

  4. The created results are provided to the process method, which runs the tomography algorithm and generates a result.