Skip to main content

Multi-qudit system simulation and analysis

Project description

qudit-sim: Qudit pulse simulation and effective Hamiltonian analysis

Y. Iiyama

qudit-sim is a tool for extracting effective Hamiltonians / gate unitaries of arbitrary microwave pulses applied to a system of statically coupled d-level quantum oscillators (qudits). Its intended usage is as a base for prototyping new pulse sequences that implement custom quantum gates involving more than two oscillator levels.

Most of the heavy-lifting is done by QuTiP through its Schrodinger equation solver (sesolve). The main functions of this tool are to prepare the Hamiltonian object passed to sesolve from the input parameters, and to interpret the result of the simulation.

As the focus of the tool is on prototyping rather than performing an accurate simulation, the tool currently assumes a simple model of the system. In particular, incoherent effects (qudit relaxation, depolarization, etc.) are not considered.

Installation

Most recent tagged versions are available in PyPI.

pip install qudit-sim

To install from source,

git clone https://github.com/UTokyo-ICEPP/qudit-sim
cd qudit-sim
pip install .

Requirements

Exact versions of the required packages have not been checked, but reasonably recent versions should do.

  • numpy
  • scipy
  • qutip
  • h5py
  • matplotlib
  • jax: If using the fidelity maximization (default) method for the effective Hamiltonian extraction
  • optax: If using the fidelity maximization (default) method for the effective Hamiltonian extraction
  • rqutils

Documentation and examples

The documentation including the mathematical background of the simulation and effective Hamiltonian extraction is available at Read the Docs.

Example analyses using qudit-sim are available as notebooks in the examples directory.

Contribute

You are most welcome to contribute to qudit-sim development by either forking this repository and sending pull requests or filing bug reports / suggestions for improvement at the issues page.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qudit-sim-0.2.0.tar.gz (44.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qudit_sim-0.2.0-py3-none-any.whl (50.3 kB view details)

Uploaded Python 3

File details

Details for the file qudit-sim-0.2.0.tar.gz.

File metadata

  • Download URL: qudit-sim-0.2.0.tar.gz
  • Upload date:
  • Size: 44.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for qudit-sim-0.2.0.tar.gz
Algorithm Hash digest
SHA256 54c9da0bf6acb90e571c4a8812a672ffb11c5d9402f1a82be7c6827824cf5102
MD5 d3246b1a2e42555a9051fbe3f1895329
BLAKE2b-256 67cd5d8e2919c89dc7bdba1f993a646d6fa827bb9df7c2c9d4d104b7ecab267f

See more details on using hashes here.

File details

Details for the file qudit_sim-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: qudit_sim-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 50.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for qudit_sim-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f131f1455545f7a30aefc431e3bd9caaee0e1477836e64836544f7397c8d3e5f
MD5 0b71549e273a7e0efb7347a103e4fce6
BLAKE2b-256 aa8fd60add45c5eae616916afb9bb2d3af625e03ed742069312698bf1f7586b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page