File size: 660 Bytes
5c02854 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # Nexar Quantum Algorithm Classifier
CodeBERT-based classifier for identifying quantum algorithms in source code.
## Supported Algorithms
- Bernstein-Vazirani
- Deutsch-Jozsa
- Grover's Algorithm
- QAOA (Quantum Approximate Optimization Algorithm)
- QFT (Quantum Fourier Transform)
- QPE (Quantum Phase Estimation)
- Shor's Algorithm
- Simon's Algorithm
## Usage
```python
from transformers import AutoTokenizer, AutoModel
import torch
tokenizer = AutoTokenizer.from_pretrained("yashodhajayasinghe/nexar-quantum-algorithm-classifier")
model = AutoModel.from_pretrained("yashodhajayasinghe/nexar-quantum-algorithm-classifier")
```
|