From cb4e684225165de300d8500c1aa2cf4e6a402473 Mon Sep 17 00:00:00 2001 From: Austin Huang Date: Tue, 29 Oct 2024 14:01:00 -0400 Subject: [PATCH 1/3] let users import from pennylane_qiskit --- pennylane_qiskit/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pennylane_qiskit/__init__.py b/pennylane_qiskit/__init__.py index 8ac3f871..03985305 100644 --- a/pennylane_qiskit/__init__.py +++ b/pennylane_qiskit/__init__.py @@ -18,3 +18,4 @@ from .basic_sim import BasicSimulatorDevice from .remote import RemoteDevice from .converter import load, load_pauli_op, load_qasm, load_qasm_from_file, load_noise_model +from .qiskit_device import qiskit_session From 12211a94505320e4a20e5a21ac312bf003ee67cd Mon Sep 17 00:00:00 2001 From: Austin Huang Date: Tue, 29 Oct 2024 14:08:59 -0400 Subject: [PATCH 2/3] fix sphinx build --- pennylane_qiskit/qiskit_device.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pennylane_qiskit/qiskit_device.py b/pennylane_qiskit/qiskit_device.py index ae8ae4b2..d62a482b 100644 --- a/pennylane_qiskit/qiskit_device.py +++ b/pennylane_qiskit/qiskit_device.py @@ -94,10 +94,10 @@ def qiskit_session(device, **kwargs): Args: device (QiskitDevice2): the device that will create remote tasks using the session **kwargs: session keyword arguments to be used for settings for the Session. At the - time of writing, the only relevant keyword argument is "max_time", which lets you - set the maximum amount of time the sessin is open. For the most up to date information, - please refer to the Qiskit Session - `documentation `_. + time of writing, the only relevant keyword argument is "max_time", which lets you + set the maximum amount of time the sessin is open. For the most up to date information, + please refer to the Qiskit Session + `documentation `_. **Example:** From 3fcde176ff61cf02d1f5ad35f40d76fa5236d28c Mon Sep 17 00:00:00 2001 From: Austin Huang Date: Tue, 29 Oct 2024 14:09:38 -0400 Subject: [PATCH 3/3] fix typo --- pennylane_qiskit/qiskit_device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pennylane_qiskit/qiskit_device.py b/pennylane_qiskit/qiskit_device.py index d62a482b..b9161d18 100644 --- a/pennylane_qiskit/qiskit_device.py +++ b/pennylane_qiskit/qiskit_device.py @@ -95,7 +95,7 @@ def qiskit_session(device, **kwargs): device (QiskitDevice2): the device that will create remote tasks using the session **kwargs: session keyword arguments to be used for settings for the Session. At the time of writing, the only relevant keyword argument is "max_time", which lets you - set the maximum amount of time the sessin is open. For the most up to date information, + set the maximum amount of time the session is open. For the most up to date information, please refer to the Qiskit Session `documentation `_.