sf.apps.data.Water¶
-
class
Water
(t)[source]¶ Bases:
strawberryfields.apps.data.sample.SampleDataset
Vibrational dynamics of the water molecule.
The molecular parameters are obtained from Ref. [10].
Molecule:
- Parameters
t (float) – time of evolution in femtoseconds
-
n_mean = 1/3
-
threshold = False
-
n_samples = 135000, 5000 samples for each of 27 available times
-
modes = 3
Attributes
-
available_times
= [0.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0, 110.0, 120.0, 130.0, 140.0, 150.0, 160.0, 170.0, 180.0, 190.0, 200.0, 210.0, 220.0, 230.0, 240.0, 250.0, 260.0]¶
-
n_mean
= 0.3333333333333333¶
-
threshold
= False¶
Methods
counts
([axis])Count number of photons or clicks.
-
counts
(axis=1)¶ Count number of photons or clicks.
Counts number of photons/clicks in each sample (
axis==1
) or number of photons/clicks in each mode compounded over all samples (axis==0
).- Parameters
axis (int) – axis to perform count
- Returns
counts from samples
- Return type
list
code/api/api/strawberryfields.apps.data.Water
Download Python script
Download Notebook
View on GitHub