Skip to main content

Python package for simulation and analysis of ion crystals in surface traps.

Project description

Sion package

Python package for simulation and analysis of ion crystals in surface electrode traps.

Installation

To use Sion, the following packages are required to be installed from source and tested:

  • pylion package: LAMMPS wrapper for ion dynamics simulation. This package requires installation of LAMMPS software with the specific version. It will work well with the latest LAMMPS version, if in source file pylion.py at line 51 you change "lmp_serial" to "lmp".
  • electrode package: Python package for convenient definition and analysis of surface electrode traps.
    !Note: for correct execution of these packages, numpy<=1.21.0 is required.

The newest version may be installed via pip:
pip install surface-ion

Getting started

Sion works with surface traps, defined through the electrode package. The simulation of ion dynamics is carried through the pylion environment. All functions, presented in Sion are described in example notebooks. Main file sion.py contains docs for each function.

To publish the results, obtained with Sion, we kindly ask you to cite the following article:

  1. Surface trap with adjustable ion couplings for scalable and parallel gates

Free software: MIT license

Features

  • Simulation of ion motion in arbitrary polygon and point electrode surface trap.
  • Optimization and simulation of arbitrary ion shuttling in polygon traps.
  • Calculation of normal modes for general case of 1D, 2D, 3D mixed species ion crystals with arbitrary set of ions' secular frequencies.
  • Calculation of anharmonic Mathieu modes of ion crystals in surface traps.
  • Stability analysis of asymmetric planar traps.
  • Optimization of DC voltage set of a planar trap to match the desired secular frequency and radial mode rotation angle in given positions.
  • Convenient trap design. Layout may be imported from GDS file or created by defining the arbitrary electrode shape boundary.

File structure

  • 'build/lib/sion.py': contains all the main functions.

  • 'examples': examples showing different features of Sion.

  • 'tests': verifications and tests of Sion work.

Possible issues

  • The following error may occur from trying to execute simulation two times without restarting the kernel. It is specific to IPython IDEs (Jupyter, spyder). The error source is in pylion package, and will be resolved by restarting the kernel.

SimulationError: There are identical 'uids'. Although this is allowed in some cases, 'lammps' is probably not going to like it.

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

surface_ion-1.0.5.tar.gz (193.9 kB view details)

Uploaded Source

Built Distribution

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

surface_ion-1.0.5-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

Details for the file surface_ion-1.0.5.tar.gz.

File metadata

  • Download URL: surface_ion-1.0.5.tar.gz
  • Upload date:
  • Size: 193.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for surface_ion-1.0.5.tar.gz
Algorithm Hash digest
SHA256 26ca1ecfd3591a1f4467225a6a90fe1435226c4dce0f12dadc7d63f34f3b3dfd
MD5 e419343968fe74ceb6b98fa77d3c9d6d
BLAKE2b-256 6f8083e5ae56f653c2af63bf8d09d0fd9ce4922962ccd25b897272d1e980c8f8

See more details on using hashes here.

File details

Details for the file surface_ion-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: surface_ion-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for surface_ion-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 961e8cd80f674364bdef9301547aca140208f6ffd483fd2defe03c3108ac65ee
MD5 f26fcebc66c59b3168a6849865dd53a8
BLAKE2b-256 26404af067c57c8ea0b6db60bc78dcf76cc68c8f8056a600b957b53e35ba5862

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