Skip to main content

QnAS package

Project description

Welcome to QnAS - an open source program to simulate noisy quantum algorithms!

Installation guide: Go to TestPyPI and find QnAS, there you can find the installation command! Or you can find it here:

pip install -i https://test.pypi.org/simple/ qnas

MIT License: Free to use!

To see source code, go to: https://github.com/isakwi/Kandidatarbete/tree/main/qnas

To get started with QnAS, import QnAS to your program and call the help function:

import qnas

qnas.help()

To get even more help, here comes an example of how you can use qnas.solve() to solve a very simple system of 3 qubits given that you have a qubit parameter file called 'qubitData.csv':

import qnas
import qiskit
from numpy import pi

circuit = qiskit.QuantumCircuit(3)
circuit.rx(pi,0)
circuit.rx(pi,1)
circuit.rx(pi,2)

finalStates = qnas.solve(Qbfile='qubitData.csv', circuit=circuit)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qnas-0.0.5.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qnas-0.0.5-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file qnas-0.0.5.tar.gz.

File metadata

  • Download URL: qnas-0.0.5.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.7

File hashes

Hashes for qnas-0.0.5.tar.gz
Algorithm Hash digest
SHA256 0bafca9bd55442c83880bf85f8251eb1d61ee0678fbf430db14034e7edb8cb5f
MD5 65b84013435a4d95ab834ed735c9f266
BLAKE2b-256 6eb2414d3610b26302335fdd694aef0a03c81ecca44adf2d1a35d06a094d0384

See more details on using hashes here.

File details

Details for the file qnas-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: qnas-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.7

File hashes

Hashes for qnas-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 588030055de7b50f1408c7cd2d8d001fc03510483c9d652f6bf7b7398d3b6a7a
MD5 7bd1c5bc1fa5efb5f95f632453f20a24
BLAKE2b-256 96fa047b1d917dde0fc9600517cafc649b12b41b8dd386364952db14df4f6b7a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page