Skip to content

arturml/quantum-neural-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Continuous-variable quantum neural networks

This is an attempt to implement one of the results of the paper Continuous-variable quantum neural networks using Xanadu's strawberryfields, which is "a full-stack Python library for designing, simulating, and optimizing continuous variable (CV) quantum optical circuits". More specifically, I used a variational quantum circuit to learn the sin(np.pi*x) function on the interval [-1,1]. The function implemented by the circuit before the optimization is a line:

before

After the optimization, it's more or less the sine function:

after

if you want to know more about the continuous-variable model of quantum computing, check out Xanadu's white paper.

About

An attempt to implement a continuous-variable quantum neural network using Xanadu's strawberryfields.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published