element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Artificial Intelligence and Machine Learning
  • Technologies
  • More
Artificial Intelligence and Machine Learning
Blog Jumpstarting AI with Quantum Computing
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Artificial Intelligence and Machine Learning to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Randy Scasny
  • Date Created: 18 Mar 2022 2:49 AM Date Created
  • Views 5072 views
  • Likes 4 likes
  • Comments 1 comment
  • tensorflow
  • artificial intelligence
  • quantum computing
  • machine learning
Related
Recommended

Jumpstarting AI with Quantum Computing

Randy Scasny
Randy Scasny
18 Mar 2022

What is quantum computing?

Quantum computing refers to data manipulation using quantum-mechanical phenomena such as superposition and entanglement. Going beyond Boolean linear algebra functions on 1s and 0s, quantum computing allows uses quantum bits (Qubits), made up of numbers, vectors, and matrices. Quantum computing is in its early years and has quite a way to go before it matures into a useable technology, when they may transition from a research topic to a classical computer replacement.

Quantum machine learning

The cross-disciplinary Quantum machine learning (QML) is of two research areas: classical machine learning and quantum computing. QML is becoming increasingly popular mainly due to mid-range quantum devices. The current era of quantum computing is known as “Noisy Intermediate-Stage Quantum” or NISQ. This emerging field describes learning models that apply computing conveniences to quantum devices. These models, if used in machine learning, can be potentially improved, however, QML applied on NISQ devices as yet cannot outdo classical techniques.

Tensorflow and quantum computing

The TensorFlow Quantum (TFQ) for Python by Google is a library of advanced insights into the company's Sycamore device. TFQ is a rapid prototyping ML library for hybrid quantum-classical ML models combining TensorFlow (TF) library capabilities and a quantum computing mindset. TFQ partners two Python libraries, Sympy and Cirq, using symbolic math and quantum logic circuit design. When combined, TFQ permits users to develop QML models effortlessly. Cirq provides abstractions for working with modern NISQ environments, and Sympy enters teachable quantum parameters for basic quantum calculations. The following content elaborates its workings.
image
Figure 1: high-level abstract overview of the computational steps

1. Quantum data to a quantum dataset: Data is converted to quantum data, represented as a multi-dimensional array (quantum tensor). TensorFlow creates a useful dataset by processing these tensors.

2. Select quantum neural network models: Quantum neural network models are selected based on the characteristics of the quantum data structure. Quantum processing is used to decode information hidden in an entangled state.

3. Sample or Average: Classical information in the form of samples from the classical distribution is extracted via measurement of quantum states. Averaging several results sets from steps 1 and 2 can be done in TFQ.

4. Assess a classical neural networks model – Deep learning methods are used to determine the correlation between data, now that quantum data has been converted to classical data.

Possibilities of applying quantum computing in ML

The near-term goal for quantum AI is to improve classical algorithms using quantum algorithms. Different theories exist on how quantum AI improves classical AI.

1. Acceleration of linear algebra: The core of ML is linear algebra. Basic Linear Algebra Subprograms (BLAS) is a collection of linear algebra applications that are an important part of ML algorithms. Matrix multiplication, linear system, and Fourier transforms are a part of these processes, and can potentially be sped up with quantum algorithms.

2. Parallel processing: Quantum superposition is a unique property of quantum computing; allowing a Qubit to be both 1 and 0 at the same time. This enables parallel processing, providing an exponential speedup when compared with classical algorithms. The training process is more efficient if the user is able to combine every possibility to teach the model.

3. Quantum game theory: Quantum game theory is the extension of classical game theory, a process of modeling popular in AI. It adds to classical game theory with superposed initial states, quantum entanglement of initial states, and superposition of strategies used on the initial states. Quantum game theory has the potential to improve algorithms where classical game theory is commonly used.

4. Improving Search Algorithms: Search algorithms are currently designed for classical computing, however, the unique properties of quantum computing, such as superposition and entanglement, may allow quantum search algorithms to be an order of magnitude faster than classical ones.

  • Sign in to reply
  • DAB
    DAB over 3 years ago

    Yes time and accuracy will dictate a successful implementation.

    Some approaches give you good performance but marginal response.

    Other approaches give you good accuracy, but take a long time to provide the result.

    Each application has to be assessed for an acceptable time and accuracy requirement.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube