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

Cannot utilize MultivariateVariationalDistribution #732

Closed
maciej-adamiak opened this issue Nov 21, 2019 · 2 comments
Closed

Cannot utilize MultivariateVariationalDistribution #732

maciej-adamiak opened this issue Nov 21, 2019 · 2 comments
Assignees

Comments

@maciej-adamiak
Copy link

Informations

  • Qiskit Aqua version: 0.6.1
  • Python version: 3.7
  • Operating system: Ubuntu 18.04

What is the current behavior?

Error thrown due to wrong constructor usage (probablities).

https://github.com/Qiskit/qiskit-aqua/blob/719a2cc1e12b9659ffd916d129502c76033d19d8/qiskit/aqua/components/uncertainty_models/multivariate_variational_distribution.py#L88

Steps to reproduce the problem

Prepare a GAN that has more than a single dimension.

What is the expected behavior?

Properly reshape the probabilities.

Suggested solutions

Swap arguments

@woodsp-ibm
Copy link
Member

PR #741, that referenced this issue above, was a change to fix this issue and has now been merged. To use this you will need to be running off the master branches from the repos here rather than off the stable PyPi install. Let us know if you still have problems in this regard, if not this can be closed.

@woodsp-ibm
Copy link
Member

Closing as fixed - see above comment.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants