This is an automated email from the ASF dual-hosted git repository.

rich7420 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 83bb94e11 fix(examples): correct backend_name in 
quantum_teleportation.py (#1367)
83bb94e11 is described below

commit 83bb94e112df8d979c76c9c6a884e48e1da3fee7
Author: Ryan Huang <[email protected]>
AuthorDate: Wed Jun 3 23:20:46 2026 +0800

    fix(examples): correct backend_name in quantum_teleportation.py (#1367)
    
    'qiskit_simulator' is not a registered Qumat backend module; the valid
    name is 'qiskit' (matches simple_example.py and QuMat.__init__ docs).
    Fixes #1317.
---
 examples/qumat/quantum_teleportation.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/qumat/quantum_teleportation.py 
b/examples/qumat/quantum_teleportation.py
index 60e26bb7b..93504d4a1 100644
--- a/examples/qumat/quantum_teleportation.py
+++ b/examples/qumat/quantum_teleportation.py
@@ -19,7 +19,7 @@ from qumat import QuMat
 
 # Initialize your QuMat quantum computer with the chosen backend
 backend_config = {
-    "backend_name": "qiskit_simulator",
+    "backend_name": "qiskit",
     "backend_options": {
         "simulator_type": "qasm_simulator",
         "shots": 1,  # Set to 1 for teleportation

Reply via email to