qxide 0.4.1__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- qxide-0.4.1.data/scripts/qxide.exe +0 -0
- qxide-0.4.1.dist-info/METADATA +145 -0
- qxide-0.4.1.dist-info/RECORD +7 -0
- qxide-0.4.1.dist-info/WHEEL +4 -0
- qxide-0.4.1.dist-info/licenses/LICENSE-APACHE +176 -0
- qxide-0.4.1.dist-info/licenses/LICENSE-MIT +25 -0
- qxide-0.4.1.dist-info/sboms/qxide.cyclonedx.json +68 -0
|
Binary file
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: qxide
|
|
3
|
+
Version: 0.4.1
|
|
4
|
+
Classifier: Programming Language :: Rust
|
|
5
|
+
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
6
|
+
License-File: LICENSE-APACHE
|
|
7
|
+
License-File: LICENSE-MIT
|
|
8
|
+
Summary: Early Qxide experiment: Rust-like quantum/classical language CLI (OpenQASM 3 output, state-vector/stabilizer simulators)
|
|
9
|
+
Keywords: quantum,qubit,openqasm,simulator
|
|
10
|
+
Home-Page: https://qxide.dev
|
|
11
|
+
License: MIT OR Apache-2.0
|
|
12
|
+
Requires-Python: >=3.8
|
|
13
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
14
|
+
Project-URL: Homepage, https://qxide.dev
|
|
15
|
+
Project-URL: Repository, https://github.com/qxide-lang/qxide
|
|
16
|
+
|
|
17
|
+
# Qxide
|
|
18
|
+
|
|
19
|
+
양자컴퓨터와 일반 컴퓨터에서 함께 쓰는 Rust 닮은 프로그래밍 언어를 목표로 하는 프로젝트입니다. 소스 파일 확장자는 `.qx`입니다.
|
|
20
|
+
|
|
21
|
+
지금은 첫 단계로, Rust 라이브러리(`qxide` 크레이트) 형태로 핵심 아이디어를 시험하고 있습니다.
|
|
22
|
+
|
|
23
|
+
## 핵심 아이디어
|
|
24
|
+
|
|
25
|
+
양자역학의 규칙이 Rust의 소유권 규칙과 그대로 맞아떨어집니다. 그래서 물리적으로 불가능한 코드는 컴파일되지 않습니다.
|
|
26
|
+
|
|
27
|
+
| 양자역학 규칙 | Qxide에서 표현한 방법 |
|
|
28
|
+
| --- | --- |
|
|
29
|
+
| 큐비트는 복사할 수 없다 (복제 불가 정리) | `Qubit`에 `Clone`/`Copy` 없음 |
|
|
30
|
+
| 측정하면 양자 상태가 사라진다 | `measure(q: Qubit) -> Bit`가 큐비트를 소비 |
|
|
31
|
+
| 2큐비트 게이트의 두 큐비트는 서로 달라야 한다 | `cx(&mut a, &mut b)` — 같은 큐비트를 두 번 빌릴 수 없음 |
|
|
32
|
+
|
|
33
|
+
```rust
|
|
34
|
+
use qxide::Circuit;
|
|
35
|
+
|
|
36
|
+
let mut c = Circuit::new();
|
|
37
|
+
let mut a = c.qubit();
|
|
38
|
+
let mut b = c.qubit();
|
|
39
|
+
c.h(&mut a); // 중첩
|
|
40
|
+
c.cx(&mut a, &mut b); // 얽힘
|
|
41
|
+
let ma = c.measure(a); // a는 사라지고 고전 비트만 남음
|
|
42
|
+
let mb = c.measure(b);
|
|
43
|
+
|
|
44
|
+
println!("{}", c.to_qasm()); // 실제 양자컴퓨터로 보낼 OpenQASM 3
|
|
45
|
+
let shot = c.simulate(42); // 일반 컴퓨터에서 시뮬레이션
|
|
46
|
+
assert_eq!(shot.get(ma), shot.get(mb));
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## 사용하기
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
cargo add qxide
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### 명령줄 도구로 설치
|
|
56
|
+
|
|
57
|
+
- **GitHub Release 설치 (릴리스 배포 후):** `qxide.dev/install.sh`, `install.ps1` 단축 URL은 예정이며 아직 연결되지 않았습니다.
|
|
58
|
+
- Linux / macOS:
|
|
59
|
+
```sh
|
|
60
|
+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/qxide-lang/qxide/releases/latest/download/qxide-installer.sh | sh
|
|
61
|
+
```
|
|
62
|
+
- Windows:
|
|
63
|
+
```powershell
|
|
64
|
+
powershell -ExecutionPolicy Bypass -c "irm https://github.com/qxide-lang/qxide/releases/latest/download/qxide-installer.ps1 | iex"
|
|
65
|
+
```
|
|
66
|
+
- **소스에서 설치:**
|
|
67
|
+
```sh
|
|
68
|
+
cargo install --git https://github.com/qxide-lang/qxide
|
|
69
|
+
```
|
|
70
|
+
- **명령어:** `qxide --version`으로 버전을 확인하고, `qxide bell [SHOTS]`로 벨 회로의 OpenQASM 3을 출력하고 시뮬레이션합니다.
|
|
71
|
+
```sh
|
|
72
|
+
qxide --version
|
|
73
|
+
qxide bell [SHOTS]
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
PyPI 패키지는 아직 배포되지 않았습니다. 릴리스 및 PyPI 배포 절차는 [docs/release.md](docs/release.md)에 있습니다.
|
|
77
|
+
|
|
78
|
+
이 저장소에서 직접 실행하려면:
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
cargo run --example bell # 벨 상태: QASM 출력 + 1000번 시뮬레이션
|
|
82
|
+
cargo test # 시뮬레이터 테스트 + 컴파일 오류가 나야 하는 예제
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## 지금 지원하는 것
|
|
86
|
+
|
|
87
|
+
- 게이트: `h`, `x`, `z`, `s`, `t`, `rx`, `ry`, `rz`, `cx`, `measure`, `reset`
|
|
88
|
+
- 분기: `c.if_one`·`c.if_zero`로 측정 비트별 실행, OpenQASM 3 `if` 출력, 분기 내 측정 불가
|
|
89
|
+
- 재사용: `c.reset`으로 활성 큐비트 |0⟩ 복귀, `measure` 후 `c.qubit()`가 물리 슬롯 초기화·재사용
|
|
90
|
+
- 레지스터: `c.qreg`·`measure_reg`, `Shot::value` 정수, 복사 불가·인덱싱·순회·`get_disjoint_mut`
|
|
91
|
+
- 출력: OpenQASM 3
|
|
92
|
+
- 시뮬레이터: 상태 벡터(모든 게이트·메모리 제한)와 스태빌라이저(Clifford·수천 큐비트), `Backend::Auto` 자동 선택, 같은 seed면 같은 결과
|
|
93
|
+
- GPU: CubeCL wgpu·f32 프로토타입(`gpu` 피처·`Backend::Gpu`), 24~26큐비트 게이트 전용 회로에서 단일 스레드 CPU 대비 실측 약 11배 빠름([docs/gpu.md](docs/gpu.md))
|
|
94
|
+
|
|
95
|
+
앞으로의 계획은 [ROADMAP.md](ROADMAP.md)에 있습니다.
|
|
96
|
+
|
|
97
|
+
## 큐비트별 상태 벡터 메모리
|
|
98
|
+
|
|
99
|
+
상태 벡터 백엔드는 16바이트 복소수 2^n개를 저장하므로 큐비트가 하나 늘 때마다 메모리가 두 배가 됩니다. 기본 한도는 1 GiB(26큐비트)이며 `Circuit::set_memory_limit`으로 바꿀 수 있고, `Backend::Auto`를 쓰면 Clifford 전용 회로는 이런 메모리가 필요 없는 스태빌라이저 백엔드에서 자동으로 실행됩니다.
|
|
100
|
+
|
|
101
|
+
| 큐비트 수 | 필요 메모리 |
|
|
102
|
+
| ---: | ---: |
|
|
103
|
+
| 10 | 16.0 KiB |
|
|
104
|
+
| 20 | 16.0 MiB |
|
|
105
|
+
| 24 | 256.0 MiB |
|
|
106
|
+
| 26 | 1.0 GiB |
|
|
107
|
+
| 28 | 4.0 GiB |
|
|
108
|
+
| 29 | 8.0 GiB |
|
|
109
|
+
| 30 | 16.0 GiB |
|
|
110
|
+
| 32 | 64.0 GiB |
|
|
111
|
+
| 34 | 256.0 GiB |
|
|
112
|
+
| 40 | 16.0 TiB |
|
|
113
|
+
| 50 | 16.0 PiB |
|
|
114
|
+
|
|
115
|
+
## 다른 양자 언어와의 비교 및 차이점
|
|
116
|
+
|
|
117
|
+
| 언어 / 도구 | 형태 | 큐비트 복사·폐기 규칙 (검사 시점) | 자동 역계산 | 중간 측정 및 고전 제어 | 주요 출력 / 실행 대상 |
|
|
118
|
+
| :--- | :--- | :--- | :--- | :--- | :--- |
|
|
119
|
+
| **Guppy** | Python 내장 언어 | 복제·삭제 불가, 선형성 제약 (컴파일 타임) | 문서에서 확인되지 않음 (`dagger`, `control` 수정자 제공) | 중간 측정 및 고전 제어 흐름 지원 | HUGR IR; Quantinuum Helios/H2 하드웨어, Selene 에뮬레이터 |
|
|
120
|
+
| **Silq** | 독립 언어 (타입 체커·컴파일러·실험적 인터프리터) | 고전 `!τ` 값만 복제·폐기 가능, 비물리적 프로그램 거부 (컴파일 타임) | 지원 (`qfree`로 안전한 자동 역계산 가능) | `measure`가 고전 값 반환; 양자 `if` 분기는 `mfree` 필요 | 내장 실험적 시뮬레이터 (하드웨어·IR 출력은 문서화되지 않음) |
|
|
121
|
+
| **Q#** | 독립 고수준 오픈소스 언어 | 불투명 식별자(비선형); 해제 시 \|0⟩ 복귀 규칙은 컴파일러 미강제 (시뮬레이터에서 런타임 강제 가능) | 명시적 범위 기반 자동 역연산 (`within { U } apply { V }`) | 타깃 프로파일에 따라 다름 | QIR; Azure Quantum 타깃, QDK 시뮬레이터 |
|
|
122
|
+
| **Qiskit** | Python SDK (라이브러리 + 호스트) | 선형/아핀 큐비트 개념 문서화되지 않음 | 없음 | 동적 회로 지원 (`if_test`, `switch`, `for_loop`, `while_loop`) | OpenQASM 3 (`qiskit.qasm3`); runtime primitives를 통한 IBM 하드웨어 |
|
|
123
|
+
| **Cirq** | Python 라이브러리 (라이브러리 + 호스트) | 선형 큐비트 개념 없음; 단일 연산 내 큐비트 중복만 런타임 검사 | 문서에서 확인되지 않음 | 측정 키 조건부 고전 제어 (`with_classical_controls`) | OpenQASM 2.0/3.0; 내장 시뮬레이터, `qsim` |
|
|
124
|
+
| **qxide** | Rust 라이브러리(크레이트) (독립 `.qx` 문법은 ROADMAP 1단계 계획) | 복사·측정 후 재사용·`cx(&mut a, &mut b)` 중복 컴파일 타임 거부; 묵시적 drop 허용(아핀, 선형 아님) | 지원 (`with_ancilla` 범위 기반, 계산 단계 `x`/`cx`/`ccx`, 제어 큐비트 전용 컴파일·런타임(`RefCell` 등) 검증) | 중간 측정 및 `if_one`/`if_zero` 고전 분기(분기 내부 측정 미지원), `reset` | OpenQASM 3; CPU 상태벡터·안정화 시뮬레이터, GPU 프로토타입 |
|
|
125
|
+
|
|
126
|
+
큐비트를 복사할 수 없는 값으로 다루는 접근(선형/아핀 타입)은 qxide가 새로 만든 개념이 아니라 Guppy와 Silq에 이미 존재하는 아이디어입니다. 정확히 구분하면 Rust의 소유권 모델은 **아핀(affine) 타입**을 제공합니다. 따라서 qxide의 `Qubit`은 복사할 수 없고 `measure`로 소비된 뒤 재사용할 수 없지만, 측정 없이 스코프를 벗어나 조용히 drop되는 것은 막지 않습니다. 반면 Guppy는 컴파일 타임에 큐비트의 복제와 삭제를 모두 금지하는 선형성 제약을 강제하므로, 이 점에서는 Guppy가 더 엄격합니다.
|
|
127
|
+
|
|
128
|
+
qxide의 차이점은 다음 세 가지입니다.
|
|
129
|
+
|
|
130
|
+
- **별도 타입 체커 부재:** 큐비트 소유권 및 중복 참조 검사를 별도의 타입 체커 없이 수정하지 않은 Rust 컴파일러(`rustc`의 소유권·빌림 검사기)로 수행합니다.
|
|
131
|
+
- **네이티브 고전 연산:** 고전 제어와 연산이 일반 Rust 코드이므로 네이티브 Rust 속도로 실행됩니다.
|
|
132
|
+
- **CPU·GPU·양자 하드웨어를 잇는 단일 언어 지향 (현재 상태):** CPU 상태벡터 및 안정화(stabilizer) 시뮬레이터, GPU 상태벡터 프로토타입(`gpu` feature), 그리고 CI에서 Qiskit 임포터로 파싱을 검증하는 OpenQASM 3 출력까지 구현되어 있습니다. 실제 양자 하드웨어로의 작업 제출은 아직 구현되지 않았습니다(ROADMAP 2단계 계획).
|
|
133
|
+
|
|
134
|
+
### 참고 출처 (확인일: 2026-11-19)
|
|
135
|
+
|
|
136
|
+
- **Guppy (Quantinuum):** [GitHub](https://github.com/CQCL/guppylang), [문서 홈](https://docs.quantinuum.com/guppy/), [Ownership 가이드](https://docs.quantinuum.com/guppy/language_guide/ownership.html), [Static 컴파일 가이드](https://docs.quantinuum.com/guppy/language_guide/static.html)
|
|
137
|
+
- **Silq (ETH Zurich):** [GitHub](https://github.com/eth-sri/silq), [공식 사이트](https://silq.ethz.ch/), [공식 문서](https://silq.ethz.ch/documentation)
|
|
138
|
+
- **Q# (Microsoft):** [개요](https://learn.microsoft.com/en-us/azure/quantum/qsharp-overview), [Quantum Memory Management](https://learn.microsoft.com/en-us/azure/quantum/user-guide/language/statements/quantummemorymanagement), [Conjugations (`within`/`apply`)](https://learn.microsoft.com/en-us/azure/quantum/user-guide/language/expressions/conjugations), [Target Profiles](https://learn.microsoft.com/en-us/azure/quantum/quantum-computing-target-profiles), [QIR 개념](https://learn.microsoft.com/en-us/azure/quantum/concepts-qir)
|
|
139
|
+
- **Qiskit (IBM):** [GitHub](https://github.com/Qiskit/qiskit), [Classical Feedforward & Control Flow](https://quantum.cloud.ibm.com/docs/en/guides/classical-feedforward-and-control-flow), [`qiskit.qasm3` API](https://quantum.cloud.ibm.com/docs/en/api/qiskit/qasm3)
|
|
140
|
+
- **Cirq (Google):** [GitHub](https://github.com/quantumlib/Cirq), [Classical Control](https://quantumai.google/cirq/build/classical_control), [Interop (OpenQASM)](https://quantumai.google/cirq/build/interop)
|
|
141
|
+
|
|
142
|
+
## 라이선스
|
|
143
|
+
|
|
144
|
+
[MIT](LICENSE-MIT) 또는 [Apache-2.0](LICENSE-APACHE) 중 원하는 쪽을 선택해 사용할 수 있습니다.
|
|
145
|
+
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
qxide-0.4.1.data/scripts/qxide.exe,sha256=Lq1ThEJ1twVaiUcAmDr-J80GxjCtOOTMjpjr9FMaMQI,195072
|
|
2
|
+
qxide-0.4.1.dist-info/METADATA,sha256=bjuKX_jrYwa0-E52F5H0NeNrvcVo2SdYq9JPkdiPXF8,10512
|
|
3
|
+
qxide-0.4.1.dist-info/WHEEL,sha256=Uvw7WSmy7Kj2FBk8Va4L_dq4MDW8X5Ynby-pOX3ZNS0,94
|
|
4
|
+
qxide-0.4.1.dist-info/licenses/LICENSE-APACHE,sha256=IP57AOkE7WkOO5_WBzeE0_xCgUHb0QuBwB_RQ9B5f1g,9899
|
|
5
|
+
qxide-0.4.1.dist-info/licenses/LICENSE-MIT,sha256=00xIbxVaE5zOsa58YSSrOelEqYuI6-BC95OUWMNe8sM,1092
|
|
6
|
+
qxide-0.4.1.dist-info/sboms/qxide.cyclonedx.json,sha256=hN57ivqmba602NgjTfIhHuFC4U27gvETIfUd3qhVrHI,1899
|
|
7
|
+
qxide-0.4.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Copyright (c) The Qxide Project Developers
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any
|
|
4
|
+
person obtaining a copy of this software and associated
|
|
5
|
+
documentation files (the "Software"), to deal in the
|
|
6
|
+
Software without restriction, including without
|
|
7
|
+
limitation the rights to use, copy, modify, merge,
|
|
8
|
+
publish, distribute, sublicense, and/or sell copies of
|
|
9
|
+
the Software, and to permit persons to whom the Software
|
|
10
|
+
is furnished to do so, subject to the following
|
|
11
|
+
conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice
|
|
14
|
+
shall be included in all copies or substantial portions
|
|
15
|
+
of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
18
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
19
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
20
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
21
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
22
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
23
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
24
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
25
|
+
DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bomFormat": "CycloneDX",
|
|
3
|
+
"specVersion": "1.5",
|
|
4
|
+
"version": 1,
|
|
5
|
+
"serialNumber": "urn:uuid:8fcd0d82-66e4-4abf-a1fe-86bda6511f50",
|
|
6
|
+
"metadata": {
|
|
7
|
+
"timestamp": "2026-11-20T03:33:25.661937500Z",
|
|
8
|
+
"tools": [
|
|
9
|
+
{
|
|
10
|
+
"vendor": "CycloneDX",
|
|
11
|
+
"name": "cargo-cyclonedx",
|
|
12
|
+
"version": "0.5.9"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"component": {
|
|
16
|
+
"type": "application",
|
|
17
|
+
"bom-ref": "path+file:///D:/a/qxide/qxide#0.4.1",
|
|
18
|
+
"name": "qxide",
|
|
19
|
+
"version": "0.4.1",
|
|
20
|
+
"description": "Early Qxide experiment, a Rust-like quantum/classical language: qubit ownership as Rust types, OpenQASM 3 output, auto-selected state-vector/stabilizer simulators, optional GPU backend (prototype)",
|
|
21
|
+
"scope": "required",
|
|
22
|
+
"licenses": [
|
|
23
|
+
{
|
|
24
|
+
"expression": "MIT OR Apache-2.0"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"purl": "pkg:cargo/qxide@0.4.1?download_url=file://.",
|
|
28
|
+
"externalReferences": [
|
|
29
|
+
{
|
|
30
|
+
"type": "website",
|
|
31
|
+
"url": "https://qxide.dev"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"type": "vcs",
|
|
35
|
+
"url": "https://github.com/qxide-lang/qxide"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"components": [
|
|
39
|
+
{
|
|
40
|
+
"type": "library",
|
|
41
|
+
"bom-ref": "path+file:///D:/a/qxide/qxide#0.4.1 bin-target-0",
|
|
42
|
+
"name": "qxide",
|
|
43
|
+
"version": "0.4.1",
|
|
44
|
+
"purl": "pkg:cargo/qxide@0.4.1?download_url=file://.#src/lib.rs"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "application",
|
|
48
|
+
"bom-ref": "path+file:///D:/a/qxide/qxide#0.4.1 bin-target-1",
|
|
49
|
+
"name": "qxide",
|
|
50
|
+
"version": "0.4.1",
|
|
51
|
+
"purl": "pkg:cargo/qxide@0.4.1?download_url=file://.#src/main.rs"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"properties": [
|
|
56
|
+
{
|
|
57
|
+
"name": "cdx:rustc:sbom:target:all_targets",
|
|
58
|
+
"value": "true"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"components": [],
|
|
63
|
+
"dependencies": [
|
|
64
|
+
{
|
|
65
|
+
"ref": "path+file:///D:/a/qxide/qxide#0.4.1"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|