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.

Files for qrandom, version 0.5
Filename, size File type Python version Upload date Hashes
Filename, size qrandom-0.5-py3-none-any.whl (14.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size qrandom-0.5.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page