question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

What should we add?

I wanted to contribute a new tutorial on Quantum CNN using Pytorch Lightning. I am following this approach using jupyter notebooks.

The implementation uses sklearn 'blobs dataset to perform binary classification of 2-dimensional data points. It features Quantum convolution and pooling layers. Shall I create a pull request for this?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
dlaseckicommented, Jun 29, 2022

@dlasecki I tried to follow the code of the referenced tutorial in qiskit and used TorchConnector to train it, but the model does not seem to converge and it takes a lot of time to finish even a single epoch. Using GPU is not beneficial as the number of samples are less (~100) and even when I used GPU the per cent utilization was negligible.

In the torch connector tutorial, the authors use only 2 qubits when here using 16 qubits (images resized to 4 x 4) is taking quite a time.

Hi, if your code is in a good shape for us to follow, you might open a draft PR and we might have a look. Perhaps some things could be optimized or improved.

1reaction
adekusar-drlcommented, Jun 29, 2022

@Gopal-Dahale may we help somehow?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Quantum Convolutional Neural Network - TensorFlow
This tutorial implements a simplified Quantum Convolutional Neural Network (QCNN), a proposed quantum analogue to a classical convolutional ...
Read more >
[1810.03787] Quantum Convolutional Neural Networks - arXiv
The QCNN architecture combines the multi-scale entanglement renormalization ansatz and quantum error correction. We explicitly illustrate its ...
Read more >
Quantum Convolutional Neural Networks - PennyLane
Quantum Convolutional Neural Networks¶ ... Convolutional neural networks (CNNs) are a type of classical machine learning model often used in computer vision and ......
Read more >
Quantum convolutional neural networks | Nature Physics
Convolutional neural networks provide a successful machine learning architecture for classification tasks such as image recognition. A CNN ...
Read more >
What is a Quantum Convolutional Neural Network?
QCNN, or Quantum Convolutional Neural Network extends the key features and structures of existing CNN to quantum systems. When a quantum physics ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found