Skip to content

Commit

Permalink
Let users import from pennylane_qiskit (#593)
Browse files Browse the repository at this point in the history
* let users import from pennylane_qiskit

* fix sphinx build

* fix typo
  • Loading branch information
austingmhuang authored Oct 29, 2024
1 parent fad15a1 commit cd19f18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions pennylane_qiskit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions pennylane_qiskit/qiskit_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://docs.quantum.ibm.com/api/qiskit-ibm-runtime/qiskit_ibm_runtime.Session>`_.
time of writing, the only relevant keyword argument is "max_time", which lets you
set the maximum amount of time the session is open. For the most up to date information,
please refer to the Qiskit Session
`documentation <https://docs.quantum.ibm.com/api/qiskit-ibm-runtime/qiskit_ibm_runtime.Session>`_.
**Example:**
Expand Down

0 comments on commit cd19f18

Please sign in to comment.