Skip to main content

A Docker This repository contains the source code of research paper titled: " A generalized quantum algorithm for assuring fairness in random selection among 2^n participants"

Project description

QrandomSelection

This repository contains the source code of research paper titled: " A generalized quantum algorithm for assuring fairness in random selection among 2^n participants". Github repository: https://github.com/mr-ravin/QrandomSelection

Author: Ravin Kumar

Qiskit Version:

qiskit-terra version: 0.7.0
qiskit-aqua version: 0.4.1
  • Create quantum circuit for 'N' participants

Our module provides a direct method for creating quantum circuit for 'n' participants.

import qrandom
res=qrandom.select(8) ### here 8 is total number of participants.
  • Visualization of quantum circuit

A simple method is given to save the pictorial repreentation of quantum circuit for 'n' participants.

import qrandom
chk=qrandom.vis_circuit(8,"file_name.png") ### it saves the generalized quantum circuit for 8 participants in file_name.png file. 

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

qrandom-0.5.tar.gz (1.8 kB view hashes)

Uploaded Source

Built Distribution

qrandom-0.5-py3-none-any.whl (14.4 kB view hashes)

Uploaded Python 3

Supported by

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