-- The name of the package. name: quipper-demos -- The package version. See the Haskell package versioning policy (PVP) -- for standards guiding when and how versions should be incremented. -- http://www.haskell.org/haskellwiki/Package_versioning_policy -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change version: 0.9.0.0 -- A short (one-line) description of the package. synopsis: Miscellaneous code snippets that illustrate various Quipper features. -- A longer description of the package. description: This package provides some code snippets that illustrate various Quipper features. -- URL for the project homepage or repository. homepage: http://www.mathstat.dal.ca/~selinger/quipper/ -- The license under which the package is released. license: BSD3 -- The file containing the license text. license-file: COPYRIGHT -- The package author(s). author: Alexander S. Green, Peter LeFanu Lumsdaine, Neil J. Ross, Peter Selinger, Benoit Valiron -- An email address to which users can send suggestions, bug reports, and -- patches. maintainer: selinger@mathstat.dal.ca -- A copyright notice. copyright: Copyright (c) 2011-2019. All rights reserved. -- A classification category for future use by the package catalogue -- Hackage. These categories have not yet been specified, but the -- upper levels of the module hierarchy make a good start. category: Quipper -- The type of build used by this package. build-type: Custom -- Constraint on the version of Cabal needed to build this package. cabal-version: >= 1.8 -- A list of additional files to be included in source distributions -- built with setup sdist. extra-source-files: images/*.png ChangeLog -- We must export a library, even if it is empty, or else -- meta-packages (such as quipper-all) that depend on this package -- will fail. library exposed-modules: executable And_gate main-is: Quipper/Demos/And_gate.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable And_list main-is: Quipper/Demos/And_list.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable And_rev main-is: Quipper/Demos/And_rev.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable Arith main-is: Quipper/Demos/Arith.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable BoxExample main-is: Quipper/Demos/BoxExample.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable Box main-is: Quipper/Demos/Box.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable Classical main-is: Quipper/Demos/Classical.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable Comments main-is: Quipper/Demos/Comments.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable CountAccess main-is: Quipper/Demos/CountAccess.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable Decompose_test main-is: Quipper/Demos/Decompose_test.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable DynamicLifting main-is: Quipper/Demos/DynamicLifting.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable ErrorCircuit main-is: Quipper/Demos/ErrorCircuit.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable Example1 main-is: Quipper/Demos/Example1.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable Example2 main-is: Quipper/Demos/Example2.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable Example3 main-is: Quipper/Demos/Example3.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable Example4 main-is: Quipper/Demos/Example4.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable Example main-is: Quipper/Demos/Example.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable GPhase main-is: Quipper/Demos/GPhase.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable HelloWorld main-is: Quipper/Demos/HelloWorld.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable Infinite main-is: Quipper/Demos/Infinite.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable MultiControlledNot main-is: Quipper/Demos/MultiControlledNot.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable NamedGate main-is: Quipper/Demos/NamedGate.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable NBox main-is: Quipper/Demos/NBox.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable NoControl main-is: Quipper/Demos/NoControl.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable OptimTest main-is: Quipper/Demos/OptimTest.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable ParseNodeRoot main-is: Quipper/Demos/ParseNodeRoot.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable PhaseTest main-is: Quipper/Demos/PhaseTest.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable QEC main-is: Quipper/Demos/QEC.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable QFTAdder main-is: Quipper/Demos/QFTAdder.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable QFT main-is: Quipper/Demos/QFT.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable QRAM main-is: Quipper/Demos/QRAM.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable QuantumIfTest main-is: Quipper/Demos/QuantumIfTest.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable Reverse main-is: Quipper/Demos/Reverse.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable SimpleOracleSimulation main-is: Quipper/Demos/SimpleOracleSimulation.hs build-depends: base >= 4.5 && < 5, containers >= 0.5.2.1, quipper-utils, quipper-language, quipper-libraries other-modules: Quipper.Algorithms.BWT.Definitions Quipper.Algorithms.BWT.BWT Quipper.Algorithms.BWT.Alternative executable SimulationTest main-is: Quipper/Demos/SimulationTest.hs build-depends: base >= 4.5 && < 5, random >= 1.0.1.1, quipper-utils, quipper-language, quipper-libraries executable SynthesisTest main-is: Quipper/Demos/SynthesisTest.hs build-depends: base >= 4.5 && < 5, random >= 1.0.1.1, newsynth >= 0.3.0.1, quipper-utils, quipper-language, quipper-libraries executable TeleportGeneric main-is: Quipper/Demos/TeleportGeneric.hs build-depends: base >= 4.5 && < 5, random >= 1.0.1.1, quipper-utils, quipper-language, quipper-libraries executable Teleport main-is: Quipper/Demos/Teleport.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable TemplateTest main-is: Quipper/Demos/TemplateTest.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable Test main-is: Quipper/Demos/Test.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable Testing main-is: Quipper/Demos/Testing.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable TimeStep-binary main-is: Quipper/Demos/TimeStep-binary.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries other-modules: Quipper.Algorithms.BWT.Definitions executable TimeStep main-is: Quipper/Demos/TimeStep.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries other-modules: Quipper.Algorithms.BWT.Definitions executable TransformerExample main-is: Quipper/Demos/TransformerExample.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries executable WithComputed main-is: Quipper/Demos/WithComputed.hs build-depends: base >= 4.5 && < 5, quipper-utils, quipper-language, quipper-libraries custom-setup setup-depends: base >= 4.5, Cabal >= 1.24, quipper-cabal >= 0.9.0.0