Metadata-Version: 2.1
Name: abrax
Version: 0.0.1
Summary: A Quantum Circuit DSL
Home-page: https://github.com/plutoniumm/abrax
Author: plutoniumm
License: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: qiskit
Provides-Extra: dev
Requires-Dist: pytest ; extra == 'dev'
Requires-Dist: twine ; extra == 'dev'
Requires-Dist: wheel ; extra == 'dev'

## abraxas

A tiny DSL to compile to qiskit circuits. The goal is to speed up the time it takes to write small stupid circuits. Anything beyond a certain complexity should be written in qiskit directly.

### Example

```python
from abrax import A

# Create a circuit
circuit = A("""
- H CX(4) RX(10)
- H -    -
- H -    CX(4)
- H X    RY(55)
- H -    -
""")

# Should be equivalent to
from qiskit import QuantumCircuit

qc = QuantumCircuit(5)
qc.h([0, 1, 2, 3, 4])
qc.cx(0, 4)
qc.x(3)
qc.rx(10, 0)
qc.cx(2, 4)
qc.ry(55, 3)
qc.measure_all()
```
