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

Typo #36

Merged
merged 10 commits into from
Apr 20, 2022
Merged

Typo #36

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
11 changes: 7 additions & 4 deletions .github/workflows/gen-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyarrow
pip install Jinja2

- name: Authentication
env:
Expand All @@ -62,13 +62,16 @@ jobs:
LAYER: ${{ github.event.inputs.layer }}
BACKEND: ${{ github.event.inputs.backend }}
run: |
cat > $INPUTS_ACTIONS <<- EOF
INPUTS_ACTIONS=$(cat <<EOF
Circuit ${CIRCUIT_ID} ; Matrix size ${MATRIX_SIZE} ; Nb qubits ${NB_QUBITS} ; Layer ${LAYER} ; Backend ${BACKEND} ; Shots ${SHOTS}
EOF
EOF)

echo "::notice file=resources/kernel_metadata/telemetry_info.csv::${INPUTS_ACTIONS}"
python workflow.py kernel_flow --circuit_tpl_id=[${CIRCUIT_ID}] --width=${NB_QUBITS} --layer=${LAYER} --matrix_size=[${MATRIX_SIZE},${MATRIX_SIZE}] --backend="${BACKEND}" --shots=${SHOTS}


- name: Show telemetry
run: python workflow.py view_telemetry

- name: Pull modif
run: git pull
- uses: stefanzweifel/git-auto-commit-action@v4
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Tests resources
resources/kernel_metadata/*/kernels-90*-ideal.csv
resources/scripts/edit_pd.py

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
4 changes: 2 additions & 2 deletions image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ARG LAYER=1
ARG BACKEND=ibm_qasm_simulator
ARG QS_TOKEN=NOTHING

CMD python worflow.py authentication --auth="legacy" --token="${QS_TOKEN}" --instance="ibm-q/open/main" && \
python worflow.py kernel_flow --circuit_tpl_id=[${CIRCUIT_ID}] --width=${NB_QUBITS} --layer=${LAYER} --matrix_size=[${MATRIX_SIZE},${MATRIX_SIZE}] --backend="${BACKEND}" --shots=${SHOTS}
CMD python workflow.py authentication --channel="ibm_quantum" --token="${QS_TOKEN}" --instance="ibm-q/open/main" && \
python workflow.py kernel_flow --circuit_tpl_id=[${CIRCUIT_ID}] --width=${NB_QUBITS} --layer=${LAYER} --matrix_size=[${MATRIX_SIZE},${MATRIX_SIZE}] --backend="${BACKEND}" --shots=${SHOTS}


2 changes: 1 addition & 1 deletion image/build-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ podman push quay.io/qiskit/qmlbuild:${TAG}
rm requirements*.txt

cp -r ../src .
cp ../worflow.py .
cp ../workflow.py .

podman build . -t quay.io/qiskit/qmlrun:${TAG}
Binary file modified resources/kernel_metadata/ibmq_qasm_simulator/kernels-2-ideal.csv
Binary file not shown.
Binary file not shown.
Binary file modified resources/kernel_metadata/telemetry_info.csv
Binary file not shown.