This is an automated email from the ASF dual-hosted git repository.
hcr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/mahout.git
The following commit(s) were added to refs/heads/main by this push:
new 8ab9dbe42 quick fix: testing errors (#924)
8ab9dbe42 is described below
commit 8ab9dbe4243a01ab736aa5ee08557a8112521db3
Author: Ryan Huang <[email protected]>
AuthorDate: Fri Jan 23 20:46:48 2026 +0800
quick fix: testing errors (#924)
---
testing/qdp/test_bindings.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testing/qdp/test_bindings.py b/testing/qdp/test_bindings.py
index d928d93c5..3823db3d1 100644
--- a/testing/qdp/test_bindings.py
+++ b/testing/qdp/test_bindings.py
@@ -891,7 +891,7 @@ def test_iqp_encode_3_qubits():
if not torch.cuda.is_available():
pytest.skip("GPU required for QdpEngine")
- engine = QdpEngine(0)
+ engine = QdpEngine(0, precision="float64")
# 3 qubits needs 6 parameters: [theta_0, theta_1, theta_2, J_01, J_02,
J_12]
# With all zeros, should get |000⟩ state