Download frontend/lib/mercury.rb from Snapkitty/cpsc-qft: direct link, hf CLI and curl.
- Browser
- Download file 1.05 kB
-
https://huggingface.co/Snapkitty/cpsc-qft/resolve/main/frontend/lib/mercury.rb
- Command line
-
hf download hf://Snapkitty/cpsc-qft/frontend/lib/mercury.rb
-
curl -L -o mercury.rb https://huggingface.co/Snapkitty/cpsc-qft/resolve/main/frontend/lib/mercury.rb
1.05 kB
| # ******************************************************************************* | |
| # Copyright (c) 2026 Ahmad Ali Parr and others. | |
| # | |
| # This program and the accompanying materials are made available under the | |
| # terms of the CPSC Eclipse Strict Copyleft License, Version 1.0, which is | |
| # available in LICENSES/CPSC-ESCL-1.0.txt, or, at your option, under the | |
| # GNU Affero General Public License, Version 3 only, which is available in | |
| # LICENSES/AGPL-3.0.txt. Both options are strict copyleft. There is no | |
| # classpath exception and no permissive relicensing. | |
| # | |
| # SPDX-License-Identifier: LicenseRef-CPSC-ESCL-1.0 OR AGPL-3.0-only | |
| # ******************************************************************************* | |
| # Mercury: a dependency-free Ruby quantum circuit library and full | |
| # statevector simulator, built as the circuit front end for CPSC-QFT. | |
| require_relative "mercury/version" | |
| require_relative "mercury/gates" | |
| require_relative "mercury/circuit" | |
| require_relative "mercury/simulator" | |
| require_relative "mercury/mini_json" | |
| require_relative "mercury/cpsc" | |