Skip to main content

QnAS package

Project description

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

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

pip install 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.6.tar.gz (19.2 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.6-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qnas-0.0.6.tar.gz
  • Upload date:
  • Size: 19.2 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.6.tar.gz
Algorithm Hash digest
SHA256 ea0aa4d8f73db6b7735bafc57ef9b4ebae9ca2c543c5ad14b0e39afead729a10
MD5 1212d38cb29e31a23974ff10ace6ec27
BLAKE2b-256 c0bf41f5ac3d0a15571d14437e231beea88a6dc4950667a08bb1f1ca30aa391f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qnas-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 23.0 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 177c8ecd413497d5c6bd91d32ca2811da9b3a45fdc1423640970aa916c0e9a76
MD5 b2b0766c6833ccc23e39352d9e100c02
BLAKE2b-256 7b2878239cf1a8456394fd69982bf55bc1a764a5f7919dc2403ad50fb24a7132

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