Spaces:
Runtime error
Runtime error
harishaseebat92
commited on
Commit
·
7d938bb
1
Parent(s):
317f297
Fix: installs the qiskit_qasm3_import in both env
Browse files- Dockerfile +3 -3
- requirements.txt +1 -0
Dockerfile
CHANGED
|
@@ -56,10 +56,10 @@ RUN python3 -m venv utils/aqc_venv && \
|
|
| 56 |
git clone https://github.com/bjader/aqc-research.git && \
|
| 57 |
# 3. Install aqc-research into the venv
|
| 58 |
../utils/aqc_venv/bin/pip install ./aqc-research && \
|
| 59 |
-
# 4.
|
| 60 |
-
rm -rf aqc-research && \
|
| 61 |
-
# 5. Install adapt-aqc (editable mode) into the venv
|
| 62 |
../utils/aqc_venv/bin/pip install -e ./adapt-aqc && \
|
|
|
|
|
|
|
| 63 |
# 6. VERIFY: Print the Python path to confirm it exists
|
| 64 |
echo "=== Verifying aqc_venv installation ===" && \
|
| 65 |
ls -la /home/user/app/utils/aqc_venv/bin/ && \
|
|
|
|
| 56 |
git clone https://github.com/bjader/aqc-research.git && \
|
| 57 |
# 3. Install aqc-research into the venv
|
| 58 |
../utils/aqc_venv/bin/pip install ./aqc-research && \
|
| 59 |
+
# 4. Install adapt-aqc (editable mode) into the venv
|
|
|
|
|
|
|
| 60 |
../utils/aqc_venv/bin/pip install -e ./adapt-aqc && \
|
| 61 |
+
# 5. Install qiskit_qasm3_import for QASM3 parsing
|
| 62 |
+
../utils/aqc_venv/bin/pip install qiskit_qasm3_import && \
|
| 63 |
# 6. VERIFY: Print the Python path to confirm it exists
|
| 64 |
echo "=== Verifying aqc_venv installation ===" && \
|
| 65 |
ls -la /home/user/app/utils/aqc_venv/bin/ && \
|
requirements.txt
CHANGED
|
@@ -43,3 +43,4 @@ pathlib
|
|
| 43 |
imageio
|
| 44 |
imageio-ffmpeg
|
| 45 |
kaleido
|
|
|
|
|
|
| 43 |
imageio
|
| 44 |
imageio-ffmpeg
|
| 45 |
kaleido
|
| 46 |
+
qiskit_qasm3_import
|