1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# This file is automatically generated by pyo3_stub_gen
# ruff: noqa: E501, F401
r"""
Errors encountered while building the QCS API client configuration manually.
"""
...
r"""
Errors encountered while interacting with a QCS API client.
"""
...
r"""
Errors encountered while loading the QCS API client configuration from the environment configuration.
"""
...
r"""
A client providing helper functionality for accessing QCS APIs
"""
r"""
URL to access the QCS API.
"""
r"""
URL to access the QCS gRPC API.
"""
r"""
Get a copy of the OAuth session.
"""
r"""
URL to access the ``quilc`` compiler.
"""
r"""
URL to access the QVM.
"""
...
r"""
Manually construct a `QCSClient`.
Prefer to use `QCSClient.load` to construct an environment-based profile.
"""
r"""
Get a copy of the OAuth session in an async context.
"""
r"""
Create a `QCSClient` configuration using an environment-based configuration.
:param `profile_name`: The QCS setting's profile name to use. If ``None``, the default value configured in your environment is used.
:raises `LoadClientError`: If there is an issue loading the profile details from the environment.
"""
r"""
Create a `QCSClient` configuration using an environment-based configuration.
If credentials are not found or stale, a PKCE login redirect flow will be initialized.
Note that this opens up a TCP port on your system to accept a browser HTTP redirect,
so you should not use this in environments where that is not possible,
such as hosted `JupyterLab` sessions.
:param `profile_name`: The QCS setting's profile name to use. If ``None``, the default value configured in your environment is used.
:raises `LoadClientError`: If there is an issue loading the profile details from the environment or if the PKCE login flow fails.
See the [QCS documentation](https://docs.rigetti.com/qcs/references/qcs-client-configuration#environment-variables-and-configuration-files)
for more details.
"""
r"""
Create a `QCSClient` configuration using an environment-based configuration.
If credentials are not found or stale, a PKCE login redirect flow will be initialized.
Note that this opens up a TCP port on your system to accept a browser HTTP redirect,
so you should not use this in environments where that is not possible,
such as hosted `JupyterLab` sessions.
:param `profile_name`: The QCS setting's profile name to use. If ``None``, the default value configured in your environment is used.
:raises `LoadClientError`: If there is an issue loading the profile details from the environment or if the PKCE login flow fails.
See the [QCS documentation](https://docs.rigetti.com/qcs/references/qcs-client-configuration#environment-variables-and-configuration-files)
for more details.
"""
r"""
Errors when compiling with RPCQ client.
"""
...
r"""
Errors that can occur when managing authorization tokens.
"""
...