File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -273,21 +273,71 @@ def _build_demo(
273273 pre = dev ,
274274 )
275275
276- # We have compatibility issues in dev priori to the v0.42.0 release of
277- # PennyLane. Dealing with this in a one-off way for now.
276+ # For dev, follow the same install procedure as in the Makefile
277+ # TODO: See if we can clean this up and streamline in the future...
278278 if dev and execute :
279+ # Cirq
280+ cmds .pip_install (
281+ build_venv .python ,
282+ "--upgrade" ,
283+ "git+https://github.com/PennyLaneAI/pennylane-cirq.git#egg=pennylane-cirq" ,
284+ use_uv = False ,
285+ quiet = False ,
286+ )
287+ # Qiskit
288+ cmds .pip_install (
289+ build_venv .python ,
290+ "--upgrade" ,
291+ "git+https://github.com/PennyLaneAI/pennylane-qiskit.git#egg=pennylane-qiskit" ,
292+ use_uv = False ,
293+ quiet = False ,
294+ )
295+ # Qulacs
296+ cmds .pip_install (
297+ build_venv .python ,
298+ "--upgrade" ,
299+ "git+https://github.com/PennyLaneAI/pennylane-qulacs.git#egg=pennylane-qulacs" ,
300+ use_uv = False ,
301+ quiet = False ,
302+ )
303+ # Catalyst
279304 cmds .pip_install (
280305 build_venv .python ,
281306 "--upgrade" ,
282307 "--extra-index-url" ,
283308 "https://test.pypi.org/simple/" ,
284309 "PennyLane-Catalyst" ,
285- "jax==0.6.0" ,
286- "jaxlib==0.6.0" ,
287310 use_uv = False ,
288311 quiet = False ,
289312 pre = True ,
290313 )
314+ # Lightning
315+ cmds .pip_install (
316+ build_venv .python ,
317+ "--upgrade" ,
318+ "--extra-index-url" ,
319+ "https://test.pypi.org/simple/" ,
320+ "PennyLane-Lightning" ,
321+ use_uv = False ,
322+ quiet = False ,
323+ pre = True ,
324+ )
325+ # PennyLane
326+ cmds .pip_install (
327+ build_venv .python ,
328+ "--upgrade" ,
329+ "git+https://github.com/PennyLaneAI/pennylane.git#egg=pennylane" ,
330+ use_uv = False ,
331+ quiet = False ,
332+ )
333+ # Iqpopt
334+ cmds .pip_install (
335+ build_venv .python ,
336+ "--upgrade" ,
337+ "git+https://github.com/XanaduAI/iqpopt.git#egg=iqpopt" ,
338+ use_uv = False ,
339+ quiet = False ,
340+ )
291341
292342 stage_dir = ctx .build_dir / "demonstrations"
293343 fs .clean_dir (stage_dir )
You can’t perform that action at this time.
0 commit comments