cuqi.sampler.Sampler.validate_target#

abstractmethod Sampler.validate_target()[source]#

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