Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let users import from pennylane_qiskit #593

Merged
merged 3 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading