SkillAgentSearch skills...

Quixer

Code repository for the preprint "Quixer: A Quantum Transformer Model"

Install / Use

/learn @Quantinuum/Quixer
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Quixer

This is the code repository for the paper Quixer: A Quantum Transformer Model. It contains the implementation of the classical simulation of Quixer, along with Transformer, LSTM and FNet baselines.

Installation

[!IMPORTANT] It is recommended that you first install the version of torch 2.2.3 suitable to your platform by following the instructions here, or the command below may not work. When installing using the above link, add torchtext==0.18.0 to the installation command. For example conda install pytorch==2.3.0 torchvision==0.18.0 torchtext==0.18.0 torchaudio==2.3.0 cpuonly -c pytorch

pip install -e .

Running the models

On CPU:

python3 run.py -d cpu -m Quixer Transformer LSTM FNet

On Nvidia GPU:

python3 run.py -d cuda -m Quixer Transformer LSTM FNet

You can exclude any of the models in the commands above and it will not be run.

View on GitHub
GitHub Stars37
CategoryEducation
Updated3d ago
Forks14

Languages

Python

Security Score

95/100

Audited on Mar 31, 2026

No findings