From 0f905ef7688e161590faf110f9335e2d2923d5c3 Mon Sep 17 00:00:00 2001 From: Pradnya Khalate Date: Fri, 15 Nov 2024 16:00:12 -0800 Subject: [PATCH 1/2] * Update the note about custom operation support on hardware targets. Signed-off-by: Pradnya Khalate --- docs/sphinx/api/default_ops.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/sphinx/api/default_ops.rst b/docs/sphinx/api/default_ops.rst index ac1d70b86c..f8bdfa047a 100644 --- a/docs/sphinx/api/default_ops.rst +++ b/docs/sphinx/api/default_ops.rst @@ -631,8 +631,9 @@ operations, each operating on 2 qubits. .. note:: - Custom operations are currently supported only on :doc:`../using/backends/simulators`. - Attempt to use with a hardware backend will result in runtime error. + When a custom operation is used on hardware backends, it is synthesized to + set of native quantum operations. Currently only 1-qubit and 2-qubit custom + operations are supported on hardware backends. Photonic Operations on Qudits From 252415258d9d78fe16993fe7d68427742d3c930e Mon Sep 17 00:00:00 2001 From: Pradnya Khalate Date: Fri, 15 Nov 2024 16:19:40 -0800 Subject: [PATCH 2/2] * Addressing review comment, grammar Signed-off-by: Pradnya Khalate --- docs/sphinx/api/default_ops.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sphinx/api/default_ops.rst b/docs/sphinx/api/default_ops.rst index f8bdfa047a..214c8f6575 100644 --- a/docs/sphinx/api/default_ops.rst +++ b/docs/sphinx/api/default_ops.rst @@ -631,8 +631,8 @@ operations, each operating on 2 qubits. .. note:: - When a custom operation is used on hardware backends, it is synthesized to - set of native quantum operations. Currently only 1-qubit and 2-qubit custom + When a custom operation is used on hardware backends, it is synthesized to a + set of native quantum operations. Currently, only 1-qubit and 2-qubit custom operations are supported on hardware backends.