Skip to content

Inflation does not work well using CG notation if the distribution has some unspecified (np.nan) probabilities #130

@eliewolfe

Description

@eliewolfe

Suppose one is interested in the feasibility of a partially-specified distribution.
This would occur, for example, whenever two parties share the same setting: the distribution would only be known when the setting for the two parties coincides.
(This would also happen in cryptography applications, where an additional party Eve is assumed to be part of the observed distribution, but we only have observable statistics on some marginal. Though, in this example no joint probabilities are known, only marginal probabilities are known.)
In this case using set_distribution with include_all_outcomes=True will give radically different results than with include_all_outcomes=False, as marginalization will fail when some of the joint probabilities are np.nan.

We should therefore add a warning that if np.nan is detected in set_distribution that the user should go back and re-initialize InflationLP or InflationSDP with include_all_outcomes=True .

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions