Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Fix to MultivariateDistribution class, Add Data Discretization & Truncation function #741

Merged
merged 21 commits into from
Dec 6, 2019

Conversation

Zoufalc
Copy link
Contributor

@Zoufalc Zoufalc commented Dec 5, 2019

Summary

Fix Aqua issue #732
& move data preparation from qgan.py to utils/dataset_helper.py

Details and comments

Fix constructor of the MultivariateDistribution class, i.e. reorder arguments in init
def init(self, num_qubits, probabilities=None, low=[], high=[]):

Add data discretization & truncation functionality -- enables digital representation of classical data in qubit registers -- to dataset_helper.py

Zoufalc and others added 14 commits August 14, 2019 11:06
Changes in Multivariate Distribution induced an error
We have had the jsonschema version capped since it was capped in terra.
However there was no clear reason for this in terra and it limits
interoperability with other python packages. Especially because
jsonschema is commonly used library across the python ecosystem. The
version we were capping to was also quite old being release 2.5 years
ago. This commit removes the cap so that people can run aqua in
environments where newer jsonschema is required.
…ma-stable

[Stable] Remove jsonschema cap
@woodsp-ibm woodsp-ibm changed the title Master ouf Fix to MultivariateDistribution class Dec 5, 2019
@Zoufalc Zoufalc changed the title Fix to MultivariateDistribution class Fix to MultivariateDistribution class & Add Data Discretization & Truncation function Dec 6, 2019
@Zoufalc Zoufalc changed the title Fix to MultivariateDistribution class & Add Data Discretization & Truncation function Fix to MultivariateDistribution class, Add Data Discretization & Truncation function Dec 6, 2019
@woodsp-ibm woodsp-ibm merged commit be8525d into qiskit-community:master Dec 6, 2019
mtreinish pushed a commit to mtreinish/qiskit-core that referenced this pull request Nov 20, 2020
…er_ouf

Fix to MultivariateDistribution class, Add Data Discretization & Truncation function
manoelmarques pushed a commit to manoelmarques/qiskit-terra that referenced this pull request Dec 7, 2020
…er_ouf

Fix to MultivariateDistribution class, Add Data Discretization & Truncation function
manoelmarques pushed a commit to qiskit-community/qiskit-machine-learning that referenced this pull request Feb 27, 2021
…er_ouf

Fix to MultivariateDistribution class, Add Data Discretization & Truncation function
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants