Skip to main content

GitHub release PyPI - Python Version CI

CI CI

Perceval_Interop

Perceval_Interop is designed to facilitate a bridge between Perceval, a photonic quantum computing framework, and several leading gate-based frameworks through a python API.

It provides converters to translate gate-based quantum circuits from various frameworks into Perceval's linear optical circuits using dual rail encoding. Currently supported frameworks include:

  • Quantum gate circuit conversion from Qiskit, myQLM, and cQASM.
  • Quantum states conversion from Qutip and Qiskit.

Installation

Perceval-Interop requires:

  • Python between 3.9 and 3.13

PIP

We recommend installing it with pip, and selecting any interop package such as qiskit, qutip, myqlm, or cqasm:

pip install --upgrade pip
pip install perceval-interop[qiskit] #install qiskit and seaborn
pip install perceval-interop[qutip] #install qutip
pip install perceval-interop[myqlm] #install myqlm
pip install perceval-interop[cqasm] #install cqasm
pip install perceval-interop[all] #install all above

GitHub

git clone https://github.com/quandela/Perceval

then to install Perceval:

pip install .

Or for developers:

pip install -e .

Running tests

Unit tests files are part of the repository in tests/ and can be run with:

pip install -r tests/requirements.txt
pytest

Additionally, you can see a coverage report with the command:

pytest --cov=perceval-interop

Documentation and Forum

Twitter Follow YouTube Channel Subscribers

Metadata

Release files for perceval-interop 1.3.1

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

Source distribution (sdist)

Source distribution for perceval-interop 1.3.1
File Size Uploaded Provenance Actions
perceval_interop-1.3.1.tar.gz 39.1 kB Without provenance Details for perceval_interop-1.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for perceval-interop 1.3.1
File Interpreter ABI Platform Actions
perceval_interop-1.3.1-py3-none-any.whl Python 3 none any Details for perceval_interop-1.3.1-py3-none-any.whl

Total release size: 85.2 kB

Release files / perceval_interop-1.3.1.tar.gz

Download URL perceval_interop-1.3.1.tar.gz
Size 39.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ae7983979919f582fa60b08f3d95728e874f6f521021089b0c546f69f4db171b
BLAKE2b-256 checksum
How to use checksums
a1eceade1f83313af20891370b993461ff86f39841e6a5551023bdf024354cce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / perceval_interop-1.3.1-py3-none-any.whl

Download URL perceval_interop-1.3.1-py3-none-any.whl
Size 46.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6bdfafefa87517539f29ed7c40491fd82c6eae6c5ad6e0f95ef679f1b0a4a74f
BLAKE2b-256 checksum
How to use checksums
7835820981ce0af8cd96c9e57eaf9cc59f643fc92b32cc22295473b1476de8f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Security for perceval-interop 1.3.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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