1. Introduction
In the use of laser pulses to control chemical reactions, it is worthwhile to manage interference between pairs of available frequencies. A successful management technique called binary phase shaping (BPS) has been introduced and discussed in ([1]-[3]). A given frequency can be masked out completely or present with one of two phases, 0 and π, and these choices are then be represented by a sequence of 0’s, −1’s, and +1’s. The BPS choice criteria turn out to be related to aperiodic correlation properties of the associated sequences and related ±1-sequences. Preferred sequences have good correlation and (what we will refer to as) focusing properties. While there is a large literature (for instance ([4]-[10]) on aperiodic correlation, the special needs of focusing do not seem to have been addressed.
2. Binary Phase Shaping
Given a laser pulse, described by having intensity E(ω) at frequency ω, we are interested in the intensities that result from two types of nonlinear, second order interference. For two photon excitation or second harmonic generation (SHG), the interference is positive with the second order intensity at frequency ω given by
In binary phase shaping the situation is simplified by considering a pulse that only contains a finite number of equally spaced frequencies (indexed by
with each frequency admitting only a limited set of intensities. Specifically, a given frequency can be masked to 0 but otherwise it is at a fixed level, the only choice allowed being whether the phase is left unchanged or is switched by π. The shape of a given laser pulse can thus be encoded by the shaping sequence
where
if frequency i has been masked out, and otherwise
is +1 or −1 depending on whether the phase change is 0 or π. (For all other i, set
). In this case the above intensity measures at the
frequency become
and
The authors have discussed the SRS problem in [8]. Thus in this paper, we will only focus on SHG problem as defined as follows. The nonzero values of
occur for
and all are relevant. Set
the SHG total energy. Then for a chosen focus frequency h we wish to choose a shaping sequence e to accomplish the following desired properties:
1) maximize the h-foreground energy
;
2) minimize the h-background energy
;
3) maximize the h-contrast ratio
In this paper, we will focus on maximizing the contrast ratio
.
Example 2.1. Suppose a sequence
is of length 6, then by definition
The following property, which will be referred frequently later, gives an equivalent definition of
at the k-th foreground frequency:
Property 2.2. For any sequence
of length n,
has the following equivalent form
where
if
, and 0 otherwise.
Definition 2.3. We call a sequence
a symmetric sequence if
, and an antisymmetric sequence if
, where
.
The following definition gives a method of constructing a symmetric or antisymmetric sequence given any base sequence c.
Definition 2.4. Let sequence
of length m, define
Define
(1)
and
(2)
Note that in the constructed sequences (1) and (2), the 2m-foreground energy takes the maximum value
The following property describes a general “symmetric” property of
values of sequences defined as in Definition 2.4.
Property 2.5 Given a symmetric or antisymmetric sequence
of length n, that is,
, or
, where
. Then
Proof.
∎
Property 2.5 shows that if a sequence e is symmetric or antisymmetric, then we have
(3)
With the equation (3), we are ready to address the SHG problem to be studied in details in this paper.
Problem SHG: Find a binary sequence c of length m, construct sequence
of even length 2 m as defined in Definition 2.4, with the result in (3), we want the contrast ratio
to be large.
3. SHG Problem
In certain cases, Chemists or Physicists are also interested in binary sequences with small
values for k even or odd. For instance, Chemists or Physicists are also looking for certain binary sequences
, such that all the following
values are small except one particular position k:
From the discussion before, we have known that a sequence taking for
would maximize the
. To minimize the other
values at even shifts, we can construct the sequence c as follows.
Property 3.1. Given a positive integer m, let the alternating sequences
or
be sequences of length m as defined in ([9] [10]). Let
be the sequence of length 2 m as defined above, then
, and
with k even and
.
Proof. By Property 2.2,
.
Now we will only prove that the rest
for even k values.
If
with
or
, then
, where
, if
; or
, if
.
By Property 2.2, if
,
,
The last equality in the calculation above follows from the fact that k is even and a and a2 have the same even or odd parity. ∎
The following property shows that the contrast ratio
value is closely related to the merit factor value as defined in ([9] [10]).
Property 3.2. Given a symmetric (or antisymmetric) binary sequence
of even length n, then
where
is aperiodic autocorrelation function of sequence e at shift i as defined in ([9] [10]).
Proof.
The last equality in the calculation above follows from the fact that e is symmetric (or antisymmetric) and Property 2.2. ∎
Property 3.2 shows that for symmetric or antisymmetric sequences of even length, the contrast ratio
can be classified as the Merit Factor problem firstly introduced in [4]. Thus naturally we will start with Legendre Sequences defined in [6] which is well-known for its high asymptotic merit factor values.
Based on Property 3.2, we are ready to prove the first important Theorem of this paper.
Theorem 3.3. Given an odd prime p, let
be the Legendre sequence as defined in {[6] [7]}. Construct a sequence
be of even length
. Then the family of such sequences has the asymptotic central contrast ratio
is 1.5.
Proof. It is well known that e is symmetric if
(mod 4), and antisymmetric if
(mod 4). Or in other words,
Therefore,
. Meanwhile, by Properties 2.5 and 3.2,
∎
The authors have also considered rotating the Legendre sequence
to obtain the base sequence c. For instance, let
where r is the rotation ratio, or
, where
.
![]()
Figure 1. An example that
, the highest
at
.
Property 3.4. For a positive integer m, a binary sequence
of length m, if a sequence
where
. Then
Proof. When
, by Property 2.2, we have
When
.
Finally when
,
∎
Both Properties 3.2 and 3.4 discussed the distribution of foreground energy values
s for even-length-sequences e. For the sequences
, of odd length 2 m + 1, we have the following result which is also based on Legendre sequences.
Theorem 3.5. Let
be the Legendre sequence of odd prime length p. Construct a sequence
of odd length
, where
. Then the family of such sequences has the asymptotic central contrast ratio
is 1.2.
We need the following Lemma to give the foundation of Theorem 3.6.
Lemma 3.6. Given p odd prime, let
be of odd length
be as defined in Theorem 3.6, then
where
, and
are small integers satisfying
.
Proof. When
.
by Prop. 3.2;
If
, by Property 2.2,
Since the truncated Legendre sequence
is symmetric or antisymmetric depending on the value
.
If
, by Property 2.2,
Now the most complicated case is
. By Property 2.2,
Note that by the well-known property of the periodic and aperiodic autocorrelations of the binary sequences ([4] [7]), we can derive
And in term IV, re-order the subscript
, then
. ∎
Now we are ready to prove Theorem 3.5.
Proof of Theorem 3.5 Without loss, we only assume
, since the proof to case
is essentially identical.
When
,
. Then by Property 2.5,
,
where
are small integers with
. Therefore,
Thus
∎
With the inspiration of Property 3.4, the authors also conducted the numerical analysis of
values on m-sequences. In other words, we are considering the sequences in form of
, where c is an m-sequence of length
. Unlike Legendre sequences, the structure of m-sequence is more complicated. For instance, the different choice of primitive polynomials, different initial state for a fixed primitive polynomial, etc., may all influence the behavior of SHG contrast ratios. Our numerical analysis has the following discoveries:
1) Fix a positive integer n, different primitive polynomials of degree n generates non-cyclically-equivalent m-sequences length
. But we did not find significant differences among the highest
values of these sequences. For instance, we have chosen
, and tested the highest
from cyclically shifting m-sequences generated by all distinct 15 primitive polynomials:
Figure 2 shows that both maximum and minimum
values are not significantly different for m-sequences c generated by
, etc., and
. In particular, the maximum
values are ranging between 1.1199 - 1.2; and the minimum
is from 0.8575 - 0.9352. And we have obtained the similar conclusion to n values other than 10.
2) For a fixed primitive polynomial, different initial state will give different sequences. Although these sequences are cyclically equivalent, there is no reason to believe that they all give the same
values. Figure 2 also shows that different initial stages obviously cause different sequence behavior on
values. Since there are
different choice of non-zero initial input, the authors have not found a clear answer to determining the “right” initial states for a given primitive polynomial to generate the ideal m-sequences which yield the best SHG contrast ratio.
![]()
Figure 2. The maximum and minimum
ratios of
with c m−sequences generated by
.
3) Given an m-sequence c,
, and
, yield different
ratios like Legendre sequences? Our numerical experiments have shown that opposite to the case in Legendre sequences, the
values for
are not significantly different. And we have obtained the similar conclusion to n values other than 10.
4. Conclusions
In this paper we have studied the SHG contrast ratios on several well-known families of binary sequences. Here is a summary of all the results presented in previous sections:
・ For
,
of even length 2N, the centeral contrast ratio
when N is large.
・ For
, where
is the Legendre sequence of odd prime length p, and
. Then the family of such sequences has the asymptotic central contrast ratio
1.2.
・ For
, of length
, where
is an m-sequence generated by a primitive polynomial of degree n, then at an ideal initial state, the asymptotic
, when
.