Releases: Asmodeus14/qclang
v0.2.1
📦 QCLang — User Installation & Usage Guide
This guide explains how to install and use QCLang on Windows and Linux using prebuilt binaries.
Latest stable release: v0.2.1
Note: QCLang is a systems-level tool designed for performance and safety.
🪟 Windows Installation
Step 1: Download and Extract
- Download
qclang-windows-x86_64.zipfrom Assets below. - Extract the ZIP to
C:\Program Files\QCLang\. - Note: The binary is already named
qclang.exeinside the zip.
Step 2: Add to PATH (Permanent)
To run qclang from any terminal, add the release folder to your System Path.
Method A: PowerShell (Recommended)
Right-click Start → Terminal (Admin) and run:
$folder = "C:\Program Files\QCLang"
$oldPath = [Environment]::GetEnvironmentVariable("Path", "Machine")
if ($oldPath -notlike "*$folder*") {
[Environment]::SetEnvironmentVariable("Path", "$oldPath;$folder", "Machine")
Write-Host "Success! Restart your terminal to use qclang." -ForegroundColor Green
}Step 3: Verify
Open a new terminal window:
qclang --version🐧 Linux Installation
Step 1: Download and Prepare
# Extract
tar -xzf qclang-linux-x86_64.tar.gz
# Navigate (binary is already named 'qclang')
chmod +x qclangStep 2: Install System-Wide
sudo mv qclang /usr/local/bin/
# Verify
qclang --version🧪 Basic Usage
1. Compile to OpenQASM
Generate OpenQASM 2.0 code from your .qc source:
qclang compile my_circuit.qc --show2. Semantic Check
Validate your code (Affine Type checks, qubit ownership) without compiling:
qclang check my_circuit.qc3. Auto-Update
Run the interactive updater:
qclang updatev0.1.4
📦 QCLang — User Installation & Usage Guide
This guide explains how to install and use QCLang on Windows and Linux using prebuilt binaries.
Latest stable release: v0.4.x
Note: QCLang is a systems-level tool designed for performance and safety.
🪟 Windows Installation
Step 1: Download and Extract
- Download
qclang-windows-x86_64.zipfrom [GitHub Releases](https://www.google.com/search?q=https://github.com/Asmodeus14/qclang/releases). - Extract the ZIP to
C:\Program Files\QCLang\. - Rename the file: Inside the
releasefolder, renameqclang-windows-x86_64.exetoqclang.exe.
Step 2: Add to PATH (Permanent)
To run qclang from any terminal, add the release folder to your System Path:
Method A: PowerShell (Recommended)
Right-click Start → Terminal (Admin) and run:
# Pointing specifically to the release subfolder
$folder = "C:\Program Files\QCLang\release"
$oldPath = [Environment]::GetEnvironmentVariable("Path", "Machine")
if ($oldPath -notlike "*$folder*") {
[Environment]::SetEnvironmentVariable("Path", "$oldPath;$folder", "Machine")
Write-Host "Success! Restart your terminal to use qclang." -ForegroundColor Green
}
Method B: Windows GUI
- Search for "Edit the system environment variables" and open it.
- Click Environment Variables.
- Under System variables, select
Path→ Edit. - Click New and paste:
C:\Program Files\QCLang\release - Click OK on all windows.
Step 3: Verify
Open a new terminal window:
qclang --version
🐧 Linux Installation
Step 1: Download and Prepare
# Extract
tar -xzf qclang-linux-x86_64.tar.gz
# Navigate to the binary and rename
cd release
mv qclang-linux-x86_64 qclang
chmod +x qclang
Step 2: Install System-Wide
sudo mv qclang /usr/local/bin/
# Verify
qclang --version
🧪 Basic Usage
1. Compile to OpenQASM
Generate OpenQASM 2.0 code from your .qc source:
qclang compile my_circuit.qc --show
2. Semantic Check
Validate your code (Affine Type checks, qubit ownership) without compiling:
qclang check my_circuit.qc