Metadata-Version: 2.4
Name: quam
Version: 0.3.10
Summary: Quantum Abstract Machine (QuAM) facilitates development of abstraction layers in experiments.
Author-email: Serwan Asaad <serwan.asaad@quantum-machines.co>
License: BSD-3-Clause
Project-URL: Homepage, https://github.com/qua-platform/quam
Keywords: quantum-computing,experiment-control,quantum-infrastructure,abstraction-layer,abstraction-library
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Topic :: Software Development
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Information Technology
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: BSD License
Requires-Python: <3.13,>=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.21.2
Requires-Dist: qm-qua>=1.1.0
Requires-Dist: qualang-tools>=0.15.0
Requires-Dist: typeguard>=4.1.0
Provides-Extra: dev
Requires-Dist: pytest>=7.1.2; extra == "dev"
Requires-Dist: black>=23.7.0; extra == "dev"
Requires-Dist: flake8>=5.0.1; extra == "dev"
Requires-Dist: pyproject-flake8>=5.0.0; extra == "dev"
Requires-Dist: ipykernel>=6.24.0; extra == "dev"
Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
Requires-Dist: pytest-mock>=3.6.1; extra == "dev"
Provides-Extra: docs
Requires-Dist: mkdocstrings[python]>=0.18; extra == "docs"
Requires-Dist: mkdocs-gen-files; extra == "docs"
Requires-Dist: mkdocs-jupyter; extra == "docs"
Provides-Extra: build
Requires-Dist: setuptools>=71; extra == "build"
Requires-Dist: setuptools-scm>=8.1.0; extra == "build"
Requires-Dist: build>=1.2.1; extra == "build"
Dynamic: license-file

# QuAM: Quantum Abstract Machine

## Overview
QuAM (Quantum Abstract Machine) is an innovative software framework designed to provide an abstraction layer over the QUA programming language, facilitating a more intuitive interaction with quantum computing platforms. Aimed primarily at physicists and researchers, QuAM allows users to think and operate in terms of qubits and quantum operations rather than the underlying hardware specifics.

Explore detailed documentation and get started with QuAM here: [QuAM Documentation](https://qua-platform.github.io/quam/).

## Key Features
- **Abstraction Layer**: Simplifies quantum programming by providing higher-level abstractions for qubit operations.
- **Component-Based Structure**: Utilize modular components like Mixers and IQChannels for flexible quantum circuit design.
- **Automated Configuration**: Generate QUA configurations from QuAM setups seamlessly.
- **Extensibility**: Extend QuAM with custom classes to handle complex quantum computing scenarios.
- **State Management**: Features robust tools for saving and loading your quantum states, promoting reproducibility and consistency.

## Installation
To install QuAM, first ensure you have 3.9 ≤ Python ≤ 3.12 installed on your system.  
Then run the following command: 

```bash
pip install quam
```

## Quick Start
Here’s a basic example to get you started with QuAM:

```python
from quam.components import BasicQuAM, SingleChannel, pulses
from qm import qua

# Create a root-level QuAM instance
machine = BasicQuAM()

# Add a qubit connected to an OPX output channel
qubit = SingleChannel(opx_output=("con1", 1))
machine.channels["qubit"] = qubit

# Add a Gaussian pulse to the channel
qubit.operations["gaussian"] = pulses.GaussianPulse(
    length=100,  # Pulse length in ns
    amplitude=0.5,  # Peak amplitude of Gaussian pulse
    sigma=20,  # Standard deviation of Guassian pulse
)

# Play the Gaussian pulse on the channel within a QUA program
with qua.program() as prog:
    qubit.play("gaussian")

# Generate the QUA configuration from QuAM
qua_configuration = machine.generate_config()
```


## License
QuAM is released under the BSD-3 License. See the LICENSE file for more details.
