Skip to main content

Qadence Intermediate Representation (IR)

!!! note Qadence 2 IR is currently a work in progress and is under active development. Please be aware that the software is in an early stage, and frequent updates, including breaking changes, are to be expected. This means that: * Features and functionalities may change without prior notice. * The codebase is still evolving, and parts of the software may not function as intended. * Documentation and user guides may be incomplete or subject to significant changes.

Qadence 2 IR specifies an intermediate representation for Qadence 2. Front-ends, like Qadence 2 Expressions, can compile to the IR and backends, like Pulser or PyQTorch can be targeted from the IR using Qadence 2 Platforms.

Installation

!!! note It is advised to set up a python environment before installing the package, such as venv, hatch, pyenv, conda or poetry. (Qadence 2 IR in development mode uses hatch).

To install the current version of Qadence 2 IR, there are a few options:

1. Installation from PYPI

On the terminal, type

pip install qadence2-ir

2. Installation from Source

Clone this repository by typing on the terminal

git clone https://github.com/pasqal-io/qadence2-ir.git

Go to qadence2-ir folder and install it using hatch

hatch -v shell

Use hatch environment on your IDE or terminal to use the qadence2-ir package.

Usage

Usage guidelines

Documentation

Documentation guidelines

Contributing

Before making a contribution, please review our code of conduct.

  • Submitting Issues: To submit bug reports or feature requests, please use our issue tracker.
  • Developing in qadence: To learn more about how to develop within qadence2-ir, please refer to contributing guidelines.

License

Qadence 2 IR is a free and open source software package, released under the Apache License, Version 2.0.

Metadata

Release files for qadence2-ir 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qadence2-ir 0.2.0
File Size Uploaded
qadence2_ir-0.2.0.tar.gz 14.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qadence2-ir 0.2.0
File Interpreter ABI Platform
qadence2_ir-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.8 kB

Release files / qadence2_ir-0.2.0.tar.gz

Download URL qadence2_ir-0.2.0.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8fd9af75e38361dc4028dfa3bc9aa584131fd4ebf9c2e3615bd0cce6fc21ffea
BLAKE2b-256 checksum
How to use checksums
040dbbe6d61d7d9c17325f74f782c0c26fbaac60c4768b4d0909365654d6a85d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 9, 2024.

Transparency log

Release files / qadence2_ir-0.2.0-py3-none-any.whl

Download URL qadence2_ir-0.2.0-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8102800631ac730b7b80bbbbdae79489b56badf784683ce8251bd6539ed8a2f4
BLAKE2b-256 checksum
How to use checksums
7ca5052702a6d384aa9520f00e0df08ead1f8c2bfe92bb6dfae1be615d7fcd2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 9, 2024.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page