From 5e3d2a39d76ef77d983ececa256a7215f718e142 Mon Sep 17 00:00:00 2001 From: Charles Moussa Date: Wed, 8 Jan 2025 15:25:10 +0100 Subject: [PATCH] Update horqrux/utils.py Co-authored-by: RolandMacDoland <9250798+RolandMacDoland@users.noreply.github.com> --- horqrux/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/horqrux/utils.py b/horqrux/utils.py index 732b4e6..82efc8e 100644 --- a/horqrux/utils.py +++ b/horqrux/utils.py @@ -288,7 +288,7 @@ def probabilities(state: Array) -> Array: Returns: Array: Vector of probabilities. """ - raise NotImplementedError("probabilities is not implemented") + raise NotImplementedError(f"Probabilities is not implemented for the input type {type(state)}.") @probabilities.register