Skip to content

Commit

Permalink
Merge branch 'main' into sg/9-emu-mps-number-of-qubits-bond-dimension…
Browse files Browse the repository at this point in the history
…-benchmark
  • Loading branch information
sgrava committed Jan 17, 2025
2 parents 2dfc661 + caec7e0 commit d38b3ec
Show file tree
Hide file tree
Showing 17 changed files with 166 additions and 294 deletions.
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATES/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
## **Bug Title**:
Provide a concise title summarizing the problem.

---

## **Description**:
A clear and concise description of the bug.
Include information about what is happening versus what you expected to happen.

---

## **Steps to Reproduce**:
List the steps to reproduce the bug. Be as specific as possible.
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error

---

## **Expected Behavior**:
Describe what you expected to happen.

---

## **Actual Behavior**:
Describe what actually happens. Include any error messages or screenshots if applicable.

---

## **Environment**:
Provide information about the environment where the bug occurred.
- **OS**: (e.g., Windows 10, macOS 13.1, Ubuntu 20.04)
- **Python version**: (e.g., 3.10)
- **Dependencies**: (list specific library/package versions, if relevant)
- **Branch/Commit**: (e.g., main, commit hash `abc123`)

---

## **Screenshots/Logs**:
Attach screenshots, log outputs, or any other helpful artifacts.
(If applicable, paste stack traces or error messages here using code blocks like below.)

```text
Error message or logs here
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATES/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
## **ISSUE Title**:
Provide a short and descriptive action-oriented title.

---

## **Goal(s)**:
Explain why and what needs to be achieved in one sentence.
For example:
*To decide between solution A or B because of X or Y.*

---

## **Description**:
Provide context or assumptions relevant to this issue.
If the issue is part of an Epic, mention previous progress or dependencies.
Example:
*We assume A and B are completed; this issue focuses on C.*

**Steps/Actions**:
1. C.1 for reason X
2. C.2 for reason Y

Notes:
- Add technical details here if not included in the Epic.
- If discussions were held, summarize key points.

---

## **Acceptance Criteria**:
Define the conditions for completing this issue.
Use the **GIVEN -> WHEN -> THEN** format if helpful.
Example:
**GIVEN** that the AOM (EOM) feature is enabled,
**WHEN** I compare simulation results from EMU-TN and Pulser,
**THEN** the results should look "close enough."

---

## **Before Creating This Ticket**:
- [ ] Ensure the **NEW** label is attached.
- [ ] Link this issue to its corresponding Epic if applicable.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: GitHub Actions Demo
name: Lint and test
run-name: CI/CD for ${{ github.ref_name }}
on:
pull_request:
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Publish repo

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch: {}

concurrency:
group: fast-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
deploy_docs:
name: Deploy docs (ubuntu)
runs-on: ubuntu-latest
steps:
- name: Checkout emulators
uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: Setup environment
run: |
pip install -r doc_requirements.txt
pip install -e .
- name: Deploy docs
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git fetch origin gh-pages
mike deploy --push --update-aliases ${{ github.ref_name }} latest
15 changes: 15 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
PASQAL OPEN-SOURCE SOFTWARE LICENSE AGREEMENT (MIT-derived)

The author of the License is:
Pasqal, a Société par Actions Simplifiée (Simplified Joint Stock Company) registered under number 849 441 522 at the Registre du commerce et des sociétés (Trade and Companies Register) of Evry – France, headquartered at 7 rue Leonard de Vinci – 91300 – Massy – France, duly represented by its Président, M. Georges-Olivier REYMOND,

Hereafter referred to as « the Licensor »

- Permission is hereby granted, free of charge, to any person obtaining a copy of this software (the “Licensee”) and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. The Software is “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and non-infringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise arising from, out of or in connection with the Software or the use or other dealings in the Software.

- If use of the Software leads to the necessary use of any patent of the Licensor and/or any of its Affiliates (defined as a company owned or controlled by the Licensor), the Licensee is granted a royalty-free license, in any country where such patent is in force, to use the object of such patent; or use the process covered by such patent,

- Such a patent license is granted for internal research or academic use of the Licensee's, which includes use by employees and students of the Licensee, acting on behalf of the Licensee, for research purposes only.

- The License is governed by the laws of France. Any dispute relating to the License, notably its execution, performance and/or termination shall be brought to, heard and tried by the Tribunal Judiciaire de Paris, regardless of the rules of jurisdiction in the matter.
27 changes: 0 additions & 27 deletions ci/emu_base/gitlab-ci-publish.yml

This file was deleted.

199 changes: 0 additions & 199 deletions ci/emu_mps/gitlab-ci-benchmarks.yml

This file was deleted.

Loading

0 comments on commit d38b3ec

Please sign in to comment.