rectset

Analytical potentials for rectangle electrodes in a surface ion trap

https://github.com/carmelom/rectset

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.8%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Analytical potentials for rectangle electrodes in a surface ion trap

Basic Info
  • Host: GitHub
  • Owner: carmelom
  • License: mit
  • Language: Mathematica
  • Default Branch: main
  • Size: 603 KB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 2
Created almost 3 years ago · Last pushed over 2 years ago
Metadata Files
Readme License Citation

README.md

rectset

License DOI

Analytical potentials for rectangle electrodes in a surface ion trap.

This package provides numpy functions to calculate analytically the electric potential, gradient, and hessian generated by a rectangular electrode in the upper half-space above it $(z > 0)$.

Install

bash pip install rectset

Dependencies

numpy

API

rectangle_electrode.py

Static potential, gradient and hessian generated by a rectangle electrode of finite size delimited by corner points $(x1, y1)$ and $(x2, y2)$, set at a DC potential of 1 V.

pseudopotential.py

Static potential and gradient of a pair of electrodes symmetric around $y = 0$, separated by a distance $a$, of width $w$ and infinitely extended along $x$; pseudopotential generated by the same pair loaded by an AC voltage of amplitude 1 V, frequency of 1 MHz, for a particle of charge +1 elementary charge and of mass 1 amu.

Geometry

Usage

```python import numpy as np from rectset import rectangle_electrode as rect from rectset import pseudopotential as ps

Square electrode of 20 x 20 um

Potential and derivatives along one line at 50 um above the trap plane

x1, y1 = -10e-6, -10e-6 x2, y2 = 10e-6, 10e-6

x = np.linspace(-100, 100) * 1e-6 y = 0 z = 50e-6

pot = rect.rectelpotential(x, y, z, x1, x2, y1, y2) # ndarray, shape (50,) grad = rect.rectelgradient(x, y, z, x1, x2, y1, y2) # ndarray, shape (50, 3) hess = rect.rectelhessian(x, y, z, x1, x2, y1, y2) # ndarray, shape (50, 3, 3)

Infinite pair of RF electrodes, large 100 um and separated by 40 um

Pseudopotential and derivatives experienced by a 40Ca+ ion with

RF voltage amplitude = 50 V

RF voltage frequency = 30 MHz

a = 40e-6 w = 100e-6 rfv = 50 # volt rffreqmhz = 30 # megahertz ionunitcharge = 1 # elementary charge ionmass_amu = 40 # amu

K = (rfv**2 * ionunitcharge) / (ionmassamu * rffreq_mhz**2) # trap and ion scaling factor

pspot = K * ps.pseudopotential(x, y, z, a, w) # ndarray, shape (50,) psgrad = K * ps.pseudogradient(x, y, z, a, w) # ndarray, shape (50, 3) pshess = K * ps.pseudo_hessian(x, y, z, a, w) # ndarray, shape (50, 3, 3)

```

References

M.G.House, "Analytic model for electrostatic fields in surface-electrode ion traps", Phys. Rev. A 78, 033402 (2008) https://doi.org/10.1103/PhysRevA.78.033402

Owner

  • Name: Carmelo Mordini
  • Login: carmelom
  • Kind: user
  • Company: ETH Zurich

Postdoc at TIQI - Trapped Ion Quantum Information group - ETH Zurich

GitHub Events

Total
Last Year

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 31 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
pypi.org: rectset

Analytical potentials for rectangle electrodes in a surface ion trap

  • Homepage: https://github.com/carmelom/rectset
  • Documentation: https://rectset.readthedocs.io/
  • License: MIT License Copyright (c) 2023 Carmelo Mordini Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • Latest release: 1.0.1
    published over 2 years ago
  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 31 Last month
Rankings
Dependent packages count: 10.0%
Forks count: 29.8%
Average: 36.5%
Stargazers count: 38.8%
Dependent repos count: 67.5%
Maintainers (1)
Last synced: 11 months ago

Dependencies

.github/workflows/publish.yaml actions
  • actions/checkout v4 composite
  • actions/download-artifact v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
  • pypa/gh-action-pypi-publish release/v1 composite
.github/workflows/test.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
pyproject.toml pypi
  • numpy *