Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Project For the Graduate course of University Of Latvia under the umbrella of Classiq and QWorld

Notifications You must be signed in to change notification settings

Risav25Pokhrel/Quantum-Mean-Filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QUANTUM MEAN FILTER USING CLASSIQ

Running on Device

!pip install -U classiq

Calling Method

sample_image=ImageToArray().getImage("...path",n=2)

meanfilter=ImageToCircuit(sample_image,2)

meanfilter.authenticate() #should authenticate if your device is not authenticate otherwise ignore this step

meanfilter.encodeToEneqr()

meanfilter.apply_filter()

meanfilter.showCircuit()

NEQR and ENEQR of 2 x 2 Image

![image](https://github.com/Risav25Pokhrel/Quantum-Mean-Filter/assets/103576193/f48fa04d-4783-46e9-98cd-42320b662969)

Cyclic shift and Copy Results

![image](https://github.com/Risav25Pokhrel/Quantum-Mean-Filter/assets/103576193/e3886f27-3ed7-45d2-bfa6-3882196e26e8)

Final Image of Mean Filter

![image](https://github.com/Risav25Pokhrel/Quantum-Mean-Filter/assets/103576193/74c5087e-983c-4d0b-abdf-5074e0e0a987)

TODO: Applying mean filter for GQIR image representation for any size image Implementation of the Quantum Non-Modular Floating Point Division Normalization and Filtering of output

About

Project For the Graduate course of University Of Latvia under the umbrella of Classiq and QWorld

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages