The Walrus

The Walrus is a Python/C++ library for the fast calculation of hafnians, loop hafnians, and multidimensional Hermite polynomials — the linear-algebra primitives behind Gaussian boson sampling and photonic quantum state characterization. Apache-2.0; published in the Journal of Open Source Software (2019).

The Walrus is one of 10 APIs that Xanadu publishes on the APIs.io network.

Tagged areas include Quantum Computing, Photonic, Gaussian Boson Sampling, Hafnian, and Open Source. The published artifact set on APIs.io includes API documentation, a GitHub repository, and SDKs.

API entry from apis.yml

apis.yml Raw ↑
aid: xanadu:thewalrus
name: The Walrus
tags:
- Quantum Computing
- Photonic
- Gaussian Boson Sampling
- Hafnian
- Open Source
humanURL: https://the-walrus.readthedocs.io/
properties:
- url: https://the-walrus.readthedocs.io/
  type: Documentation
- url: https://github.com/XanaduAI/thewalrus
  type: GitHubRepository
- url: https://pypi.org/project/thewalrus/
  type: SDK
description: The Walrus is a Python/C++ library for the fast calculation of hafnians, loop hafnians, and
  multidimensional Hermite polynomials — the linear-algebra primitives behind Gaussian boson sampling
  and photonic quantum state characterization. Apache-2.0; published in the Journal of Open Source Software
  (2019).