Spin Lattice
oqd_trical.mechanical.spinlattice
¶
SpinLattice
¶
Bases: Base
Object representing a spin lattice system.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
J
|
ndarray[float]
|
Interaction graph of the spin lattice system. |
required |
Source code in oqd-trical/src/oqd_trical/mechanical/spinlattice.py
plot_interaction_graph(**kwargs)
¶
Plots the normal mode frequencies of the ions
Parameters:
Name | Type | Description | Default |
---|---|---|---|
fig
|
Figure
|
Figure for plot. |
required |
idx
|
int
|
3 digit integer representing position of the subplot. |
required |
plot_type
|
str
|
Type of plot. |
required |
Returns:
Name | Type | Description |
---|---|---|
ax |
Union[Axes3DSubplot, AxesSubplot]
|
Axes of the plot |
Source code in oqd-trical/src/oqd_trical/mechanical/spinlattice.py
SimulatedSpinLattice
¶
Bases: SpinLattice
Object representing a spin lattice system simulated by a trapped ion system.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
ti
|
TrappedIons
|
A trapped ion system. |
required |
mu
|
ndarray[float]
|
Raman beatnote detunings. |
required |
Omega
|
ndarray[float]
|
Rabi frequencies. |
required |
Other Parameters:
Name | Type | Description |
---|---|---|
direc |
str
|
Direction of mode to use. |
k |
float
|
Wavevector of the laser. |
Source code in oqd-trical/src/oqd_trical/mechanical/spinlattice.py
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 |
|
interaction_graph()
¶
Calculates the interaction graph of the spin lattice simulated by the trapped ion system.
Returns:
Name | Type | Description |
---|---|---|
J |
ndarray[float]
|
Interaction graph of the spin lattice simulated by the trapped ion system. |