Metadata-Version: 2.1
Name: qnas
Version: 0.0.9
Summary: QnAS package
Home-page: https://github.com/isakwi/Kandidatarbete/tree/main/qnas
Author: Isak Wikman, Edvin Martinson, Axel Blom, Albin Edenmyr, Didrik Palmqvist, Ludvig Nordqvist
Author-email: isakwi@student.chalmers.se, edvmar@student.chalmers.se, bloaxel@student.chalmers.se, edenmyr@student.chalmers.se, didrikp@student.chalmers.se, ludnor@student.chalmers.se
License: MIT
Keywords: pypi,qnas,algorithm-simulator,quantum,quantum-algorithm-simulator,algorithm,noise,simulator
Classifier: Development Status :: 3 - Alpha
Classifier: Topic :: Software Development :: Documentation
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt

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)

Here's an example of how the 'qubitdata.csv' should look like:
    
    Qubit;Relaxation(MHz);Dephasing(MHz);Thermal(MHz);Anharmonicity(MHz);Levels
	01;1.1;1.2;0.00;-229;3
	02;1.3;1.0;0.00;-225;3
	03;1.2;1.4;0.00;-226;3

To add more qubits, just add more rows to the csv file!

