Skip to main content

Implementation of NARP Pulses and Their Interaction Dynamics with Two-Level Systems

Project description

from narp_functions import (
    narp_pulse,
    narp_pulse_dynamics,
    area_versus_chirp,
    notch_versus_chirp,
    notch_versus_area,
    plot_fields,
    plot_occupations,
    plot_surfaces,
)
import jax.numpy as jnp

Basic Usage

pulse = narp_pulse(
    pulse_center_frequency = 0.322, #[PHz]
    pulse_bandwidth = 0.022, #[PHz] (20 fs pulse)
    pulse_area = 6*jnp.pi,
    chirp_rate = 900, #[ps]^2
    notch_type = 0,
    notch_bandwidth = 0.022/5 #[PHz]
)
plot_fields(pulse)

png

rho = narp_pulse_dynamics(pulse, 0.322) # (Resonance)
plot_occupations(pulse, rho)

png

Parameter Space

Area versus Chirp

pulse_areas_grid, chirp_rates_grid, occupations_matrix = area_versus_chirp(
    pulse_center_frequency = 0.322, #[PHz]
    pulse_bandwidth = 0.022, #[PHz] (20 fs pulse)
    notch_type = 0,
    notch_bandwidth = 0.022/5, #[PHz]
    resolution = 25
)
plot_surfaces(chirp_rates_grid, pulse_areas_grid, occupations_matrix)
Computing occupations: 100%|██████████| 625/625 [03:04<00:00,  3.38it/s]

png

Notch versus Chirp

pulse_areas_grid, notch_widths_grid, occupations_matrix = notch_versus_chirp(
    pulse_center_frequency = 0.322, #[PHz]
    pulse_bandwidth = 0.022, #[PHz] (20 fs pulse)
    notch_type = 0,
    pulse_area = 8*jnp.pi,
    resolution = 25
)
plot_surfaces(notch_widths_grid, pulse_areas_grid, occupations_matrix)
Computing occupations: 100%|██████████| 625/625 [02:57<00:00,  3.52it/s]

png

Notch versus Area

pulse_areas_grid, notch_widths_grid, occupations_matrix = notch_versus_area(
    pulse_center_frequency = 0.322, #[PHz]
    pulse_bandwidth = 0.022, #[PHz] (20 fs pulse)
    chirp_rate = 600,
    notch_type = 0,
    resolution = 25
)
plot_surfaces(notch_widths_grid, pulse_areas_grid, occupations_matrix)
Computing occupations: 100%|██████████| 625/625 [02:53<00:00,  3.61it/s]

png

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Release history Release notifications | RSS feed

This version

1.4

Download files

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

Source Distribution

narp_dynamics-1.4.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

narp_dynamics-1.4-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file narp_dynamics-1.4.tar.gz.

File metadata

  • Download URL: narp_dynamics-1.4.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for narp_dynamics-1.4.tar.gz
Algorithm Hash digest
SHA256 8946a383dee3c99e72a98f32805dc555df9fc2acca6d0780e4b8074ba9683c2d
MD5 184dd1055feb3f62c78b62ec1cb0aee5
BLAKE2b-256 baae6eaf20f15cabdc60126148fbd05cb3cbc37fa2544e879d1e2ee9c226688a

See more details on using hashes here.

File details

Details for the file narp_dynamics-1.4-py3-none-any.whl.

File metadata

  • Download URL: narp_dynamics-1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for narp_dynamics-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f8f8cdf9603daa98d708720e1ffe6e234a4f30a63ebd916c8b1d5f157ea5aae9
MD5 c30a372547d94c2ccdd05e344a23b3bd
BLAKE2b-256 29491d23873188f72d1aaec4b7ea1a89b594d5977f84d1a662cee5b568e94f03

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