sf.apps.data.sample.Pyrrole¶
-
class
Pyrrole
(t)[source]¶ Bases:
strawberryfields.apps.data.sample.SampleDataset
Vibrational dynamics of the pyrrole molecule.
The molecular parameters are obtained from Ref. [6].
Molecule:
- Parameters
t (float) – time of evolution in femtoseconds
-
n_mean = 0.12599583
-
threshold = False
-
n_samples = 10000, 1000 samples for each of 10 available times
-
modes = 24
Attributes
-
available_times
= [0.0, 100.0, 200.0, 300.0, 400.0, 500.0, 600.0, 700.0, 800.0, 900.0]¶
-
n_mean
= 0.12599583¶
-
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.sample.Pyrrole
Download Python script
Download Notebook
View on GitHub