← Back to QuantumStudio

Examples & Catalog

Runnable examples, quantum identities, and capability checks demonstrated by osxQ / QuantumStudio.

250 examples · every entry links to its source on GitHub
Each title below links straight to the exact line of source on GitHub (pinned to commit e257370). Examples cover gate algebra, state preparation, algorithm identities (Bell, GHZ, QFT, Grover, Toffoli, teleportation, QPE), MPS tensor-network parity, OpenQASM execution, and the QuantumStudio backend/MCP API. Run them all with ./test.sh, or one module with python3 -m pytest <file> -q. For the parameterized benchmark circuits and the OpenQASM corpus, see the Example & Circuit Gallery.
Core simulator149src/tests/mlxQCoreTest.py
Internal consistency20src/tests/mlxQInternalConsistencyTest.py
MPS backend8src/tests/mlxQMpsBackendTest.py
MPS parameter suite4src/tests/mlxQMpsParamSuiteTest.py
Measurement parity1src/tests/mlxQMeasurementParityTest.py
Benchmark catalog2src/tests/mlxQBenchCatalogTest.py
Quantum-computing examples41src/tests/mlxQQCExamplesTest.py
QML wrapper5src/tests/mlxQQmlWrapperTest.py
QPE energy estimation2src/tests/mlxQQpeEnergyEstimationTest.py
Visualization1src/tests/mlxQVisualizationPlotsTest.py
Backend API10quantumstudio/tests/test_backend_api.py
MCP server7quantumstudio/tests/test_mcp_server.py