cuqi.experimental.mcmc.ProposalBasedSampler.validate_target#

abstractmethod ProposalBasedSampler.validate_target()#

Validate the target is compatible with the sampler. Called when the target is set. Should raise an error if the target is not compatible.