Package to simulate hybrid superconducting qubits
Project description
HybridSuperQubits 🌀⚡
A Python framework for simulating hybrid semiconductor-superconductor quantum circuits.
Key Features ✨
-
Hybrid Circuit Simulation 🔬
Unified framework for semiconductor-superconductor systems. -
Advanced Noise Analysis 📉
- Capacitive losses (
t1_capacitive). - Inductive losses (
t1_inductive). - Flux noise (
tphi_1_over_f_flux). - Coherence Quantum Phase Slip (
tphi_CQPS).
- Capacitive losses (
-
Professional Visualization 📊
- Wavefunction plotting (
plot_wavefunction). - Matrix element analysis (
plot_matelem_vs_paramvals). - Spectrum vs parameter sweeps.
- Wavefunction plotting (
-
SC-Qubits Compatibility 🔄
API-inspired interface for users familiar with scqubits
Installation ⚙️
To install HybridSuperQubits, follow these steps:
Step 1: Create a Virtual Environment (Optional but Recommended)
Creating a virtual environment prevents conflicts between dependencies:
python3 -m venv hsq_env
source hsq_env/bin/activate # macOS/Linux
hsq_env\Scripts\activate # Windows
Step 2: Install SciPy (Before Installing HybridSuperQubits)
Since scipy can have installation issues, install it first:
pip install scipy
For macOS M1/M2/M3, if you face issues, install OpenBLAS first:
brew install openblas
pip install scipy
Step 3: Install HybridSuperQubits
Once SciPy is installed, you can install HybridSuperQubits:
pip install hybridsuperqubits
Basic Usage 🚀
Supported Qubit Types
-
Andreev Pair Qubit (Andreev): Semiconductor nanowire-based protected qubit
-
Gatemon (Gatemon) Gate-tunable transmon-like qubit
-
Gatemonium (Gatemonium) Strongly charge-sensitive gatemon variant
-
Fermionic-Bosonic Qubit (Ferbo) Hybrid light-matter qubit (shown in example below)
Initialize a hybrid qubit
from HybridSuperQubits import Andreev, Gatemon, Gatemonium, Ferbo
# Fermionic-Bosonic Qubit (Ferbo)
qubit = Ferbo(
Ec=1.2, # Charging energy [GHz]
El=0.8, # Inductive energy [GHz]
Gamma=5.0, # Coupling strength [GHz]
delta_Gamma=0.1, # Asymmetric coupling [GHz]
er=0.05, # Fermi detuning [GHz]
phase=0.3, # External phase (2 pi Φ/Φ₀)
dimension=100 # Hilbert space dimension
)
# Andreev Pair Qubit
andreev_qubit = Andreev(
EJ=15.0, # Josephson energy [GHz]
EC=0.5, # Charging energy [GHz]
delta=0.1, # Superconducting gap [GHz]
ng=0.0, # Charge offset
dimension=50
)
# Gatemonium
gatemonium = Gatemonium(
EJ=10.0, # Josephson energy [GHz]
EC=1.2, # Charging energy [GHz]
ng=0.0, # Charge offset
dimension=100
)
Documentation 📚
Full API reference and theory background available at: hybridsuperqubits.readthedocs.io
Contributing 🤝
We welcome contributions! Please see:
CONTRIBUTING.md for development guidelines
License
This project is licensed under the MIT License. However, it includes portions of code derived from scqubits, which is licensed under the BSD 3-Clause License.
For more details, please refer to the LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hybridsuperqubits-0.1.3.tar.gz.
File metadata
- Download URL: hybridsuperqubits-0.1.3.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
799571fcc2fa47fdf103c73aa89a02e881c124de564fae98aeb8fdbbfa47e952
|
|
| MD5 |
b4bf4fab17eff851487f0223d05b63e9
|
|
| BLAKE2b-256 |
6ae347e6893e02e09372daa11b72d1f4b1dd5c788934897f941c5e7c755d8d74
|
File details
Details for the file HybridSuperQubits-0.1.3-py3-none-any.whl.
File metadata
- Download URL: HybridSuperQubits-0.1.3-py3-none-any.whl
- Upload date:
- Size: 30.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbb202c9ade4f96cd9b171454e0fe2ded5ae13954170840b51c86d3bbee3bc84
|
|
| MD5 |
3755b8ac6df8be9fe656f7bfc02a487c
|
|
| BLAKE2b-256 |
7a4a5d93fdfd0fd5b6cb294dfc23e4242d18f2f36949e26339fbb76c2748bda1
|