Skip to main content
Travis Codecov coverage Codacy grade Read the Docs PyPI PyPI - Python Version

qiskit is an open-source compilation framework capable of targeting various types of hardware and a high-performance quantum computer simulator with emulation capabilities, and various compiler plug-ins.

This library sports some useful algorithms for quantum computers using qiskit as a basis.

Features

  • Multi Qubit Quantum Fourier Transform

  • Draper adder

  • Uniform Rotations

  • State Preparation

Installation

This library requires Python version 3.5 and above, as well as qiskit. Installation of this plugin, as well as all dependencies, can be done using pip:

$ python -m pip install dc_qiskit_algorithms

To test that the algorithms are working correctly you can run

$ make test

Getting started

You can use the state preparation as follows

from dc_qiskit_algorithms.MÃttÃnenStatePrep import state_prep_mÃttÃnen

vector = [-0.1, 0.2, -0.3, 0.4, -0.5, 0.6, -0.7, 0.8]
vector = numpy.asarray(vector)
vector = (1 / numpy.linalg.norm(vector)) * vector

qubits = int(numpy.log2(len(vector)))
reg = QuantumRegister(qubits, "reg")
c = ClassicalRegister(qubits, "c")
qc = QuantumCircuit(reg, c, name='state prep')
state_prep_mÃttÃnen(qc, vector, reg)

After this, the quantum circuit is prepared in the given state. All complex vectors are possible!

Please refer to the documentation of the dc qiskit algorithm Plugin .

Contributing

We welcome contributions - simply fork the repository of this plugin, and then make a pull request containing your contribution. All contributers to this plugin will be listed as authors on the releases.

We also encourage bug reports, suggestions for new features and enhancements, and even links to cool projects or applications built on PennyLane.

Authors

Carsten Blank

Support

If you are having issues, please let us know by posting the issue on our Github issue tracker.

License

The data cybernetics qiskit algorithms plugin is free and open source, released under the Apache License, Version 2.0.

Metadata

Release files for dc-qiskit-algorithms 0.0.14

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

Source distribution (sdist)

Source distribution for dc-qiskit-algorithms 0.0.14
File Size Uploaded Provenance
dc_qiskit_algorithms-0.0.14.tar.gz 19.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dc-qiskit-algorithms 0.0.14
File Interpreter ABI Platform
dc_qiskit_algorithms-0.0.14-py3-none-any.whl Python 3 none any Details

Total release size: 42.4 kB

Release files / dc_qiskit_algorithms-0.0.14.tar.gz

Download URL dc_qiskit_algorithms-0.0.14.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0afb3d05dc63e69de6eaee054fdda8b92abf8d60717602b8e2cbfd66f3cf58d9
BLAKE2b-256 checksum
How to use checksums
1652cf9ce5f8c11d384f2e86f25ebbcb98aa1ca509aaad3ec6de31bfb02b0248
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release files / dc_qiskit_algorithms-0.0.14-py3-none-any.whl

Download URL dc_qiskit_algorithms-0.0.14-py3-none-any.whl
Size 23.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df9e2d90db3d12bf175663b32c88305c5854ac6ff0140e287f118b31f728d4fc
BLAKE2b-256 checksum
How to use checksums
17190465e0db4df4197e7e722095a896bd77f2c2bffec03097f81edc4ab1a43d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Security for dc-qiskit-algorithms 0.0.14

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