QuTech-Delft / OpenSquirrel

A flexible (Python-based) quantum program compiler
Apache License 2.0
4 stars 1 forks source link

Create Axis object to describe axis tuple #208

Closed rturrado closed 2 months ago

rturrado commented 3 months ago

As of now, we allow the user to input a tuple to describe an Axis. For consistency, it is better to create an Axis object that can be converted from a tuple/list/np.array/array.

i.e Axis([1,0,0]) where one can define y_axis = Axis((1,0,0))