Description

This tutorial shows how the TorchConnector allows to use any NeuralNetwork from Qiskit Machine Learning and integrate it in a PyTorch workflow. The TorchConnector takes any NeuralNetwork and makes it available as a PyTorch Module.

In this notebook, you will learn to:

  • Generate random data
  • Use TorchConnector to embed Quantum NeuralNetworks in a PyTorch workflow
  • Train a Classification model
  • Score the classification model
  • Train a MNIST model