> ## Documentation Index
> Fetch the complete documentation index at: https://dynex.mintlify.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Examples Overview

> Practical examples across optimization, machine learning, algorithms, and circuits

# Examples

Practical examples demonstrating the Dynex SDK across different problem domains. From simple BQM sampling to production-grade quantum machine learning, these examples cover the full spectrum of what Dynex can compute.

## Prerequisites

```bash theme={null}
pip install dynex dimod numpy
```

For ML examples:

```bash theme={null}
pip install torch scikit-learn
```

For circuit examples:

```bash theme={null}
pip install pennylane qiskit pennylane-qiskit
```

## Basic Examples

Getting started with the fundamental SDK workflow:

<CardGroup cols={2}>
  <Card title="Simple BQM Sampling" icon="play" href="/examples/basic/simple-sampling">
    Build and sample a Binary Quadratic Model on CPU and QPU
  </Card>

  <Card title="BQM Usage" icon="cube" href="/examples/basic/bqm-usage">
    Constructing BQMs with dimod, PyQUBO, and named variables
  </Card>
</CardGroup>

## Algorithm Examples

Classic quantum algorithms implemented on the Dynex platform:

<CardGroup cols={3}>
  <Card title="Grover's Algorithm" icon="magnifying-glass" href="/examples/algorithms/grover">
    Integer factorization via quantum amplitude amplification
  </Card>

  <Card title="Shor's Algorithm" icon="calculator" href="/examples/algorithms/shor">
    Period-finding for efficient integer factorization
  </Card>

  <Card title="Optimization Algorithms" icon="chart-line" href="/examples/algorithms/optimization">
    MaxCut, graph partitioning, job sequencing, and more
  </Card>
</CardGroup>

## Machine Learning Examples

Quantum-enhanced ML algorithms with PyTorch and scikit-learn integration:

<CardGroup cols={2}>
  <Card title="ML Overview" icon="brain" href="/examples/ml/overview">
    QSVM, QPCA, QNN, QBM, and feature selection
  </Card>

  <Card title="QSVM" icon="vector-square" href="/examples/ml/qsvm">
    Quantum Support Vector Machine
  </Card>

  <Card title="QRBM / QBM" icon="network-wired" href="/examples/ml/qrbm">
    Quantum Restricted Boltzmann Machine
  </Card>

  <Card title="Neuromorphic Torch Layers" icon="fire" href="/examples/ml/torch-layers">
    Hybrid quantum-classical PyTorch models
  </Card>
</CardGroup>

## Industry Applications

Real-world applications across industries:

| Domain          | Examples                                                                                                                                                                                                                                                                                                                                                        |
| --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Finance         | [Portfolio optimization](https://github.com/Dynex-Development/awesome-dynex/blob/main/optimization/Dynex_Portfolio_Optimisation.ipynb), [collaborative filtering](https://github.com/Dynex-Development/awesome-dynex/blob/main/misc/example_collaborative_filtering_CFQIRBM.ipynb)                                                                              |
| Pharma / Health | [Protein folding](https://github.com/Dynex-Development/awesome-dynex/blob/main/advanced_applications/QuantumProteinFolding.ipynb), [RNA folding](https://github.com/Dynex-Development/awesome-dynex/blob/main/misc/example_rna_folding.ipynb), [molecule screening](https://github.com/Dynex-Development/awesome-dynex/blob/main/misc/molecule_screening.ipynb) |
| Automotive      | [Traffic optimization](https://github.com/Dynex-Development/awesome-dynex/blob/main/optimization/TrafficOptimizationCQMBUG.ipynb), [EV charging placement](https://github.com/Dynex-Development/awesome-dynex/blob/main/misc/example_placement_of_charging_stations.ipynb), [CFD](https://github.com/dynexcoin/QCFD)                                            |
| Logistics       | [Aircraft loading](https://github.com/Dynex-Development/awesome-dynex/blob/main/optimization/aircraft-loading-optim.ipynb), [job sequencing](https://github.com/Dynex-Development/awesome-dynex/blob/main/optimization/quantum_job_sequencing.ipynb), [multi-vehicle routing](https://github.com/dynexcoin/quantum_multi_vehicle_routing)                       |
| Aerospace       | [Satellite scheduling](https://github.com/Dynex-Development/awesome-dynex/blob/main/advanced_applications/QuantumSatellite.ipynb)                                                                                                                                                                                                                               |
| Computer Vision | [Image classification (Q-RBM)](https://github.com/Dynex-Development/awesome-dynex/blob/main/misc/Medium_Image_Classification.ipynb), [image super-resolution (Q-SISR)](https://github.com/dynexcoin/QSISR)                                                                                                                                                      |

## All notebooks

Browse the complete notebook collection on GitHub:
[github.com/Dynex-Development/awesome-dynex](https://github.com/Dynex-Development/awesome-dynex)
