Metadata-Version: 2.4
Name: chencrafts
Version: 4.0.1
Summary: A personal toolbox for superconducting qubits and quantum mechanics.
Author-email: Danyang Chen <DanyangChen2026@u.northwestern.edu>
License: BSD 3-Clause License
        
        Copyright (c) 2024 and later, Danyang Chen
        All rights reserved.
        
        Redistribution and use in source and binary forms, with or without
        modification, are permitted provided that the following conditions are met:
        
        1. Redistributions of source code must retain the above copyright notice, this
           list of conditions and the following disclaimer.
        
        2. Redistributions in binary form must reproduce the above copyright notice,
           this list of conditions and the following disclaimer in the documentation
           and/or other materials provided with the distribution.
        
        3. Neither the name of the copyright holder nor the names of its
           contributors may be used to endorse or promote products derived from
           this software without specific prior written permission.
        
        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
        AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
        IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
        DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
        FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
        DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
        SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
        CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
        OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
        OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
        
Keywords: personal toolbox,superconducting qubits,quantum mechanics
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Scientific/Engineering
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Operating System :: Microsoft :: Windows
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: matplotlib
Requires-Dist: scipy
Requires-Dist: pandas
Requires-Dist: tqdm
Requires-Dist: dill
Requires-Dist: pathos
Requires-Dist: scqubits>=3.0.0
Requires-Dist: IPython
Requires-Dist: h5py
Provides-Extra: cqed
Requires-Dist: torch>=1.7; extra == "cqed"
Requires-Dist: multiprocess; extra == "cqed"
Requires-Dist: pymablock; extra == "cqed"
Requires-Dist: jax; extra == "cqed"
Requires-Dist: cvxpy; extra == "cqed"
Provides-Extra: toolbox
Requires-Dist: mplcursors; extra == "toolbox"
Requires-Dist: ipympl; extra == "toolbox"
Provides-Extra: docs
Requires-Dist: sphinx>=7; extra == "docs"
Requires-Dist: numpydoc; extra == "docs"
Provides-Extra: test
Requires-Dist: pytest>=7; extra == "test"
Requires-Dist: pytest-cov>=4; extra == "test"
Requires-Dist: qutip<5.3.1,>=5; extra == "test"
Requires-Dist: dynamiqs; extra == "test"
Dynamic: license-file

# chencrafts

General-purpose simulation and analysis tools for superconducting quantum circuits, built on `scqubits`, `qutip`, `numpy`, and `scipy`.

## Subpackages

- `chencrafts.toolbox` (alias `cc.tb`): General numerical and workflow utilities (optimization, data saving/loading, fitting, plotting).
- `chencrafts.cqed`: Circuit-QED simulation tools (circuit conversions, decoherence rates, dressed-state assignment, pulse shapes, Floquet analysis, superoperator and process representations, and `FlexibleSweep` parameter sweeps).

## Installation

```bash
pip install chencrafts
```
