pyqpanda.Algorithm.demo.Deustch_Jozsa
Quantum Algorithm Easy Demo: Deutsch-Jozsa Algorithm
This algorithm takes a function as the input. Task is to judge it whether "Constant" (same outputs with all inputs) or "Balanced" (half outputs 0 and half outputs 1)
Copyright (C) Origin Quantum 2017-2018
Licensed Under Apache Licence 2.0
Module Contents
Functions
|
Create a 2-qubit DJ algorithm circuit |
QPanda Easy Demo |