{ "info": { "author": "Robert Tucci", "author_email": "Robert.Tucci@artiste-qb.net", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Quantum Edward\n\n## Installation\n\nYou can install Quantum Edward from the Python package manager `pip` using:\n```\npip install qedward --user\n```\n\nQuantum Edward at this point is just a small library of Python tools for \ndoing classical supervised learning on Quantum Neural Networks (QNNs). \n\nAn analytical model of the QNN is entered as input into QEdward and the training\nis done on a classical computer, using training data already available (e.g., \nMNIST), and using the famous BBVI (Black Box Variational Inference) method \ndescribed in Reference 1 below. \n\nThe input analytical model of the QNN is given as a sequence of gate \noperations for a gate model quantum computer. The hidden variables are \nangles by which the qubits are rotated. The observed variables are the input \nand output of the quantum circuit. Since it is already expressed in the qc's \nnative language, once the QNN has been trained using QEdward, it can be \nrun immediately on a physical gate model qc such as the ones that IBM and \nGoogle have already built. By running the QNN on a qc and doing \nclassification with it, we can compare the performance in classification \ntasks of QNNs and classical artificial neural nets (ANNs). \n\nOther workers have proposed training a QNN on an actual physical qc. But \ncurrent qc's are still fairly quantum noisy. Training an analytical QNN on a \nclassical computer might yield better results than training it on a qc \nbecause in the first strategy, the qc's quantum noise does not degrade the \ntraining. \n\nThe BBVI method is a mainstay of the \"Edward\" software library. Edward uses \nGoogle's TensorFlow lib to implement various inference methods (Monte Carlo \nand Variational ones) for Classical Bayesian Networks and for Hierarchical \nModels. H.M.s (pioneered by Andrew Gelman) are a subset of C.B. nets \n(pioneered by Judea Pearl). Edward is now officially a part of TensorFlow, \nand the original author of Edward, Dustin Tran, now works for Google. Before \nEdward came along, TensorFlow could only do networks with deterministic \nnodes. With the addition of Edward, TensorFlow now can do nets with both \ndeterministic and non-deterministic (probabilistic) nodes. \n\nThis first baby-step lib does not do distributed computing. The hope is that \nit can be used as a kindergarten to learn about these techniques, and that \nthen the lessons learned can be used to write a library that does the same \nthing, classical supervised learning on QNNs, but in a distributed fashion \nusing Edward/TensorFlow on the cloud. \n\nThe first version of Quantum Edward analyzes two QNN models called NbTrols \nand NoNbTrols. These two models were chosen because they are interesting to \nthe author, but the author attempted to make the library general enough so \nthat it can accommodate other akin models in the future. The allowable \nmodels are referred to as QNNs because they consist of 'layers', \nas do classical ANNs (Artificial Neural Nets). TensorFlow can analyze \nlayered models (e.g., ANN) or more general DAG (directed acyclic graph) \nmodels (e.g., Bayesian networks). \n\nThis software is distributed under the MIT License.\n\nReferences\n----------\n\n1. R. Ranganath, S. Gerrish, D. M. Blei, \"Black Box Variational\nInference\", https://arxiv.org/abs/1401.0118\n\n2. https://en.wikipedia.org/wiki/Stochastic_approximation\ndiscusses Robbins-Monro conditions\n\n3. https://github.com/keyonvafa/logistic-reg-bbvi-blog/blob/master/log_reg_bbvi.py\n\n4. http://edwardlib.org/\n\n5. https://discourse.edwardlib.org/\n\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/artiste-qb-net/Quantum_Edward", "keywords": "Quantum Neural Networks", "license": "", "maintainer": "", "maintainer_email": "", "name": "qedward", "package_url": "https://pypi.org/project/qedward/", "platform": "", "project_url": "https://pypi.org/project/qedward/", "project_urls": { "Homepage": "https://github.com/artiste-qb-net/Quantum_Edward" }, "release_url": "https://pypi.org/project/qedward/0.0.3/", "requires_dist": [ "numpy", "matplotlib", "scipy" ], "requires_python": "", "summary": "Python tools for supervised learning by Quantum Neural Networks.", "version": "0.0.3" }, "last_serial": 4458804, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "b22c63b4373a9a0233f4a37a95c30469", "sha256": "c5b88ab1b6e2e960e25aad37402187713db4d5606a56f0e7ac48556adfc91c26" }, "downloads": -1, "filename": "qedward-0.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "b22c63b4373a9a0233f4a37a95c30469", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3660, "upload_time": "2018-11-06T20:11:49", "url": "https://files.pythonhosted.org/packages/67/b0/15ca51ab5076bd3f84e345acbbe943136d845e7bbbc15905096ead3130aa/qedward-0.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3972dc9bdc9c85a31d2b350f8dffc80a", "sha256": "64419c15eb33a367550a36b4b14e1a4b9a362b7eecf60fbdd0bc179eb86f6a2b" }, "downloads": -1, "filename": "qedward-0.0.0.tar.gz", "has_sig": false, "md5_digest": "3972dc9bdc9c85a31d2b350f8dffc80a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3126, "upload_time": "2018-11-06T20:11:51", "url": "https://files.pythonhosted.org/packages/fb/dd/e5252249ba7a13546751c4d1a8de63d80ee651ba2f701aa8e6b0896cca04/qedward-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "67c6b7d3861e83ab65a677dc83ae162e", "sha256": "84f97ebd9cda32c8242118be229e94375c203f2d1ac734889d4c49b1ca0ba72a" }, "downloads": -1, "filename": "qedward-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "67c6b7d3861e83ab65a677dc83ae162e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3656, "upload_time": "2018-11-06T20:18:32", "url": "https://files.pythonhosted.org/packages/75/d5/3f8098b6cc3998b4e13c203abe1504acc0807890032f41cee5ef42fa7c8f/qedward-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6ef8cbad67fc7682ef0e7cf7503826f6", "sha256": "2653c0b5b399e057cb3a1628b046fda43ca40612f55a894df710423397e6dbdd" }, "downloads": -1, "filename": "qedward-0.0.1.tar.gz", "has_sig": false, "md5_digest": "6ef8cbad67fc7682ef0e7cf7503826f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3122, "upload_time": "2018-11-06T20:18:33", "url": "https://files.pythonhosted.org/packages/f9/6d/d0c6e130447a6f4ef5daf54a7239b07e35752e8a116b1c9d7ebd5c8f285a/qedward-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "6298f39a685d6f9478fb29189cc6446f", "sha256": "1b5219b19a8388922253f7979d7a47d1ea8acb120e50c3cc943419b2c65425b5" }, "downloads": -1, "filename": "qedward-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "6298f39a685d6f9478fb29189cc6446f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3660, "upload_time": "2018-11-06T20:25:50", "url": "https://files.pythonhosted.org/packages/64/22/46f42be40d35e1d0c6625ad50e174d4eed1799631c2c3a952609e1c5264b/qedward-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8913fd67b30a80b876b0bdf20ce922b7", "sha256": "f1cc0c766cc18ce2e2bc85d75c9f0cc079f1cbde53ae4dd9e4194e15eb44eb55" }, "downloads": -1, "filename": "qedward-0.0.2.tar.gz", "has_sig": false, "md5_digest": "8913fd67b30a80b876b0bdf20ce922b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3119, "upload_time": "2018-11-06T20:25:51", "url": "https://files.pythonhosted.org/packages/09/9c/920d3795ba38a8e818542788eff9a444c26cc1364e1ed6794fa7fcb5a25f/qedward-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "aad16ba7cc15d65037671a428078d5d6", "sha256": "96903a93a6be750dca87c81e487078dbaeafb28d2e6dbbc1572b9c9bc15b903d" }, "downloads": -1, "filename": "qedward-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "aad16ba7cc15d65037671a428078d5d6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18073, "upload_time": "2018-11-06T20:32:56", "url": "https://files.pythonhosted.org/packages/39/18/89ae1aa8d7742b3bd95a9ae8889d9d84e7645550d8f5ab3b5e8886490c02/qedward-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "76f1bcd772c96deda15591d4bd66c226", "sha256": "9974cbc465d00b163bc21e123e79b2bff2b2beb88c5e7734c8618e18b5a7369e" }, "downloads": -1, "filename": "qedward-0.0.3.tar.gz", "has_sig": false, "md5_digest": "76f1bcd772c96deda15591d4bd66c226", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15467, "upload_time": "2018-11-06T20:32:58", "url": "https://files.pythonhosted.org/packages/d6/38/4f3713b80e1c83fa630aaca320844f001b64b1c6eac6b8a4c63766c184aa/qedward-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "aad16ba7cc15d65037671a428078d5d6", "sha256": "96903a93a6be750dca87c81e487078dbaeafb28d2e6dbbc1572b9c9bc15b903d" }, "downloads": -1, "filename": "qedward-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "aad16ba7cc15d65037671a428078d5d6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18073, "upload_time": "2018-11-06T20:32:56", "url": "https://files.pythonhosted.org/packages/39/18/89ae1aa8d7742b3bd95a9ae8889d9d84e7645550d8f5ab3b5e8886490c02/qedward-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "76f1bcd772c96deda15591d4bd66c226", "sha256": "9974cbc465d00b163bc21e123e79b2bff2b2beb88c5e7734c8618e18b5a7369e" }, "downloads": -1, "filename": "qedward-0.0.3.tar.gz", "has_sig": false, "md5_digest": "76f1bcd772c96deda15591d4bd66c226", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15467, "upload_time": "2018-11-06T20:32:58", "url": "https://files.pythonhosted.org/packages/d6/38/4f3713b80e1c83fa630aaca320844f001b64b1c6eac6b8a4c63766c184aa/qedward-0.0.3.tar.gz" } ] }