Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrated quantum bayesian inference (#717)
* Added quantum Bayesian inference * Allowed inference with no evidence * Passed inference test * Passed inference test * Works with AmplitudeProblem algorithm * Run GroverOperator until it matches all evidence * Quantum rejection sampling with GroverOperator * Quantum Bayesian inference * Started QBayesian tutorial * QBayesian tutorial + debugging order in inference() * Add best_qc and docs * Added Pachinko in Tut as Bayesian network * Bug in Pachinko game * Add Burglary Earthquake Example * Bug with 13 tut jupyter file * Bug fix with 13 tut jupyter file * Bug fix example step 5 tut 13 * Reversed index for quantum circuit variables * Fixed QBayesian classical qubit order for query variables * Prepared release * Made trivial test less strict * Fixed format errors * Updated pylint * Included types for dict and set for format * Fixed spelling error from an unchanged file * Fixed tutorial and code based on feedback * Fixed format * Removed shots * Fixed format * Adjusted format for documentation + added format result * Added test if converged for tutorial * Revert commit on tutorial 07 * Embedded tutorial images * Fixed release note format * Added images and removed base64 for images * Added images and removed base64 for images * Fixed documentation QBayesian * Added Copyright 2024 * Update qiskit_machine_learning/algorithms/__init__.py * Update releasenotes/notes/add-quantum-bayesian-inference-92c6025432d9b7e0.yaml Co-authored-by: Steve Wood <[email protected]> * Update releasenotes/notes/add-quantum-bayesian-inference-92c6025432d9b7e0.yaml Co-authored-by: Steve Wood <[email protected]> * Update qiskit_machine_learning/algorithms/inference/qbayesian.py Co-authored-by: Declan Millar <[email protected]> * Added tests for getter and setter * Rerun notebook for |: 'ABCMeta' and 'NoneType' * Added default sampler parameter * Fixed format error release note * Removed mutable object as a default parameter * Fixed TypeError --------- Co-authored-by: Peter Röseler <[email protected]> Co-authored-by: Anton Dekusar <[email protected]> Co-authored-by: Steve Wood <[email protected]> Co-authored-by: M. Emre Sahin <[email protected]> Co-authored-by: Edoardo Altamura <[email protected]> Co-authored-by: Declan Millar <[email protected]>
- Loading branch information