https://github.com/cqcl/quixer

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

https://github.com/cqcl/quixer

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.3%) to scientific vocabulary

Keywords

language-modeling natural-language-processing penn-treebank quantum quantum-machine-learning
Last synced: 5 months ago · JSON representation

Repository

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

Basic Info
Statistics
  • Stars: 22
  • Watchers: 3
  • Forks: 9
  • Open Issues: 1
  • Releases: 0
Topics
language-modeling natural-language-processing penn-treebank quantum quantum-machine-learning
Created over 1 year ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

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.

Owner

  • Name: Cambridge Quantum
  • Login: CQCL
  • Kind: organization
  • Location: Cambridge, UK

Quantum Software and Technologies

GitHub Events

Total
  • Create event: 3
  • Release event: 1
  • Issues event: 1
  • Watch event: 17
  • Delete event: 2
  • Issue comment event: 3
  • Member event: 1
  • Push event: 12
  • Pull request review event: 1
  • Pull request event: 2
  • Fork event: 7
Last Year
  • Create event: 3
  • Release event: 1
  • Issues event: 1
  • Watch event: 17
  • Delete event: 2
  • Issue comment event: 3
  • Member event: 1
  • Push event: 12
  • Pull request review event: 1
  • Pull request event: 2
  • Fork event: 7

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 1
  • Total pull requests: 2
  • Average time to close issues: about 20 hours
  • Average time to close pull requests: about 1 month
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 2.0
  • Average comments per pull request: 1.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 2
  • Average time to close issues: about 20 hours
  • Average time to close pull requests: about 1 month
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 2.0
  • Average comments per pull request: 1.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • WonJaeRyu (1)
Pull Request Authors
  • gamatos (2)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

requirements.txt pypi
  • datasets *
  • qiskit <1.0
  • qiskit-aer ==0.13.3
  • qiskit-ibm-provider ==0.10.0
  • qiskit-ibm-runtime ==0.20.0
  • qiskit-terra *
  • scikit-learn *
  • torchquantum *
  • torchtext *