SOQCS Logo
  • Introduction
  • Compilation and installation
  • Software details
  • Examples
    • Example 1: Elementary example program
    • Example 2: CNOT circuit
    • Example 3: CZ
    • Example 4: HOM Visibility simulation of a 2x2 MMI beamsplitter.
    • Example 5: Partial distinguishability
    • Example 6: Simulation of a delay in the middle of a circuit
    • Example 7: Boson sampling example
    • Example 8: Entanglement swapping protocol using a physical quantum dot as a non-ideal Bell emitter
    • Example 9: Dielectric film with losses
    • Benchmark
  • API
  • Index
  • Bibliography
  • Licence and copyright
SOQCS
  • »
  • Examples
  • View page source

Examples

  • Example 1: Elementary example program
    • Import and configure library
    • Managing photons
    • Managing states
  • Example 2: CNOT circuit
    • Building a CNOT circuit
    • Qubit declaration
    • Example with | 1, 0 > input.
    • Additional results
  • Example 3: CZ
    • Building a CZ circuit
    • Qubit declaration
    • Example with | 1, 1 > input
    • Example with | 0, 0 > + | 0, 1 > + | 1, 0 > + | 1, 1 > input
  • Example 4: HOM Visibility simulation of a 2x2 MMI beamsplitter.
    • Building a plotting function with a SOQCS circuit
    • Plotting the function
  • Example 5: Partial distinguishability
    • Building a plotting function with a SOQCS circuit
    • Plotting the function
  • Example 6: Simulation of a delay in the middle of a circuit
  • Example 7: Boson sampling example
    • Build a random circuit
    • Obtain a list of samples
    • Perform a comparison between sampled and exact results
  • Example 8: Entanglement swapping protocol using a physical quantum dot as a non-ideal Bell emitter
  • Example 9: Dielectric film with losses
    • Build the plotting function for a | 2, 0 > input.
    • Build the plotting function for a | 1, 1 > input.
    • Plotting the function
  • Benchmark

Previous Next

  • Maynooth Univeristy

  • Copyright:
    Copyright © 2023 National University of Ireland Maynooth,
    Maynooth University. All rights reserved.
    The contents and use of this document and the related code
    are subject to the licence terms detailed in LICENCE.txt


  • Jiri Vala

    e-mail:
    jiri.vala@mu.ie

  • Authorship:
    Javier Osca Cotarelo

    e-mail:
    soqcslib@gmail.com

  • Built with Sphinx using a theme provided by Read the Docs.