Physics for Maple 2019 - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Physics : Updates : Physics for Maple 2019

Physics

Maple provides a state-of-the-art environment for algebraic computations in Physics, with emphasis on ensuring that the computational experience is as natural as possible. The theme of the Physics project for Maple 2019 has been the consolidation of the functionality introduced in previous releases, together with significant enhancements to further strengthen the functionality mainly in three areas:

1. 

Quantum Mechanics: coherent states, tensor products of states, taylor series of expressions involving anticommutative variables and functions, and several improvements in the normalization and simplification of Commutator and AntiCommutator algebra rules.

2. 

Tensor computations in general, making Maple 2019 unmatched in the field, covering classical and quantum mechanics, and special and general relativity, using natural tensor input notation and textbook-like display of results. The functionality for tensors is tightly integrated with the full Maple computation system and extensively documented in "A Complete Guide for performing tensor computations using Physics".

3. 

Documentation: besides the new guide for tensor computations, two other new pages, linked in all the help pages of Physics commands, are

a. 

Physics Updates organizes and presents in one place all formerly scattered links to updates and presentations with examples on the use of Physics.

b. 

Mini-Course: Computer Algebra for Physicists, is a course that can be used as a tutorial, with 10 sections to be covered in 5 hands-on guided experiences of 2 hours each. The first part, 5 sections, is about Maple 101, while the remaining 5 sections is all about using the Physics package.

Overall, the enhancements throughout the entire package increase robustness, versatility and functionality, extending furthermore the range of Physics-related algebraic computations that can be done naturally in a worksheet. The presentation below illustrates both the novelties and the kind of mathematical formulations that can now be performed.

As part of its commitment to providing the best possible environment for algebraic computations in Physics, Maplesoft launched a Maple Physics: Research and Development website with Maple 18, which enabled users to download research versions, ask questions, and provide feedback. The results from this accelerated exchange with people around the world have been incorporated into the Physics package in Maple 2019.

 

Tensor product of Quantum States using Dirac's Bra-Ket Notation

Coherent States in Quantum Mechanics

The Zassenhaus formula and the algebra of the Pauli matrices

Multivariable Taylor series of expressions involving anticommutative (Grassmannian) variables

New SortProducts command

Documentation: "Physics updates", "A complete guide for performing tensor computations" and the "Mini-Course: Computer Algebra for Physicists"

Simplification of tensors, Pauli and Dirac matrices and KroneckerDelta

See Also

 

Tensor product of Quantum States using Dirac's Bra-Ket Notation

Coherent States in Quantum Mechanics

See Also

Tensor product of Quantum States using Dirac's Bra-Ket Notation

 

Tensor products of Hilbert spaces and related quantum states are relevant in a myriad of situations in quantum mechanics, and in particular regarding quantum information. Tensor products are key in the mathematical formulation of entanglement. Below is a presentation of the design and implementation introduced in Maple 2019, with input/output and examples, organized in four sections:

1. 

The basic ideas and design

2. 

Tensor product notation and the hideketlabel option

3. 

Entangled States and the Bell basis

4. 

Entangled States, Operators and Projectors

 

References

[1] Cohen-Tannoudji, C.; Diu, B.; and Laloe,F. Quantum Mechanics, Chapter 2, section F.

[2] Griffiths, Robert B. Hilbert Space Quantum Mechanics. Quantum Computation and Quantum Information Theory Course, Physics Department, Carnegie Mellon University, 2014.

The basic ideas and design implemented in Maple 2019

 

Suppose  and  are quantum operators and  are, respectively, their eigenkets. The following works since the introduction of the Physics package in Maple

(1)

(2)

(3)

In previous Maple releases, all quantum operators are supposed to act on the same Hilbert space. New in Maple 2019: suppose that  and  act on different, disjointed, Hilbert spaces.

 

1) To represent that situation, a new keyword in Setup, , is introduced. With it you can indicate the quantum operators that act on a Hilbert space, say as in  with the meaning that the operator  acts on one Hilbert space while  acts on another one.

 

The Hilbert space thus has no particular name (as in 1, 2, 3 ...) and is instead identified by the operators that act on it. There can be one or more, and operators acting on one space can act on other spaces too. The disjointedspaces keyword is a synonym for hilbertspaces and hereafter all Hilbert spaces are assumed to be disjointed.

 

NOTE: noncommutative quantum operators acting on disjointed spaces commute between themselves, so after setting - for instance - , automatically,  become quantum operators satisfying (see comment (ii) on page 156 of ref.[1])

 

 

2) Product of Kets and Bras that belong to different Hilbert spaces are understood as tensor products satisfying (see footnote on page 154 of ref.[1]):

 

 

 

 

 

while

 

3) All the operators of one Hilbert space act transparently over operators, Bras, and Kets of other Hilbert spaces. For example

 

and the same for the Dagger of this equation, that is

 

Hence, when we write the left-hand sides of the two equations above and press enter, they are automatically rewritten (returned) as the right-hand sides.

 

4) Every other quantum operator, set as such using Setup, and not indicated as acting on any particular Hilbert space, is assumed to act on all spaces.

 

5) Notation:

 

• 

Tensor products formed with operators, or Bras and Kets belonging to different Hilbert spaces (set as such using Setup and the keyword hilbertspaces), are now displayed with the symbol ⊗ in between, as in  instead of , and  instead of . The product of an operator  of one space and a Ket of another space  however, is displayed , without ⊗.

• 

A new Setup option hideketlabel , makes all the labels in Kets and Bras to be hidden when displaying Kets, Bras, and Bracket, so when you set it entering ,
    

   

is displayed as

 

  

This is the notation frequently used when working with angular momentum or in quantum information, where tensor products of Hilbert spaces are used.

Design details

 

The commutativity of the eigenkets of  and  is consistent with , see footnote on page 154 of ref. [1].

 

Taking advantage of this commutativity of Bras and Kets belonging to disjointed spaces, during the computer algebra session (on the worksheet) the ordering of their products in the output happens automatically and systematically, it is always the same, and according to the following rules: suppose there are two Hilbert subspaces, then:

 

1. 

Within a product, contiguous Kets are grouped per Hilbert subspace

2. 

The Hilbert subspaces are ordered by sorting, alphabetically, the operators that act on that subspace.

 

Example: if one Hilbert subspace has operators  acting on it and the other has operators  then a product of contiguous eigenkets of these operators is sorted as

 

 

Where the first pair of Kets belong to the first Hilbert subspace and the other pair to the second subspace, and where the first subspace is the one whose operands are alphabetically sorted first than the operands of the second subspace (in this example  is sorted before ) and within a subspace, the Kets are also sorted alphabetically (so  before , then in the second subspace  before ).

 

Regarding the notation for the Dagger of a tensor product of states, say  the standard convention for tensor products is to preserve the order, as in representing an exception to the “reverse the order” rule of the Dagger operation. This is conventional, in that Kets and Bras belonging to disjointed spaces actually commute. This convention, however is notationally important for two reasons

 

  

1. Frequently, tensor product of states are written not as a product of Kets but as a single ket with many quantum numbers (multidimensional Hilbert space), for example as , and as , that is, preserving the order of the quantum numbers, the first index refers to the first Hilbert subspace and the second index to the other one, in both the Ket and the Bra (its Dagger). So, when these multi-index Kets can be expressed as tensor products, the ordering of the Hilbert subspaces is preserved.

  

2. This preservation of the ordering of the Hilbert subspaces in a tensor product of Kets is also relevant in connection with the new Setup keyword hideketlabel, which requires the ordering of subspaces to be preserved in order to have non-ambiguous notation when the quantum numbers of Kets belonging to identical subspaces (e.g. qubits) are the same.

 

Example: we know that

 

In the left-hand and right-hand sides of the expression above, the ordering of the Hilbert subspaces is not the same. If we now omit the labels  and , we would have

 

which would be misleading. Likewise,

and removing the labels we would get the misleading

 

From all this we see that, in order to make sense of the notation without labels, it is necessary to preserve the ordering of the Hilbert subspaces present in a tensor product, and also when taking the Dagger of a Ket. Accordingly, within tensor products, for instance in these examples, the system will always write Kets of the subspace A before Kets of the subspace B.

 

Tensor product notation and the hideketlabel option

 

According to the design section, set now two disjointed Hilbert spaces with operators  acting on one of them and  on the other one (you can think of  )

 

(4)

 

Consider a tensor product of Kets, each of which belongs to one of these different spaces, note the new notation using

(5)
• 

As explained in the Details of the design section, the ordering of the Hilbert spaces in tensor products is now preserved: Bras (Kets) of the first space always appear before Bras (Kets) of the second space. For example, construct a projector into the state (5)

(6)

You see that in the product of Bras, and also in the product of Kets, A comes first, then B.


Remark: some textbooks prefer a dyadic style for sorting the operands in products of Bras and Kets that belong to different spaces, for example,  instead of the projector sorting style of (6). Both reorderings of Kets and Bras are mathematically equal.

 

• 

Because that ordering is preserved, one can now hide the label of Bras and Kets without ambiguity, as it is usual in textbooks (e.g. in Quantum Information). For that purpose use the new keyword option hideketlabel

(7)

The display for (6) is now

(8)

Important: this new option only hides the label while displaying the Bra or Ket. The label, however, is still there, both in the input and in the output. One can "see" what is behind this new display using show, that works the same way as it does in the context of CompactDisplay. The actual contents being displayed in (8) is thus (6)

(9)

Operators of each of these spaces act on their eigenkets as usual. Here we distribute over both sides of an equation, using `*` on the left-hand side, to see the product uncomputed, and `.` on the right-hand side to see it computed:

(10)

(11)
• 

The tensor product of operators belonging to different Hilbert spaces is also displayed using

(12)
• 

 As mentioned in the preceding design section, using the commutativity between operators, Bras and Kets that belong to different Hilbert spaces, within a product, operators are placed contiguous to the Kets and Bras belonging to the space where the operator acts. For example, consider the delayed product represented using the start `*` operator

(13)

Release the product

(14)

The same operation but now using the dot product `.` operator. Start by delaying the operation

(15)

Recalling that this product is mathematically the same as (14), and that

(16)

by releasing the delayed product (15) we have

(17)

Reset hideketlabel

(18)

Implementation details

 

• 

When defining a disjointed Hilbert space that contains operators belonging to one of the previously defined disjointed spaces, if the previously defined space is a subset of the one being defined, the former definition is removed and only the latter is kept.

• 

There are three new routines related to operators acting on disjointed spaces

(19)
  

and, in connection with the possibility of indicating that two operators act on the same disjointed space, there is a new routine to tell when the operators belong to (act on) the same space

(20)

(21)
  

Finally, there is a routine to tell whether a sequence of objects belong (all of them) to (the same or different) disjointed spaces, i.e. were set as such using Setup and the hilbertpaces keyword

(22)

(23)

(24)

(25)

These three Physics:-Library routines, are the ones used internally by the Physics package to make decisions.

• 

Coordinates of a coordinate system defined using the Coordinates, or equivalently the Setup, command, when they are also set to as quantum operators, are automatically assumed to act on disjointed spaces. For example,

(26)

(27)
  

Remove the coordinates from the quantum operators set

(28)
• 

The following swapped products on the left-hand and right-hand sides (with their evaluation delayed due to enclosing the equation between ' ' ) are automatically reordered in one and the same way when we remove the delay, as explained in the details of the design section.

 

Example

 

(29)

(30)

Remove now the evaluation delay and the ordering on the right-hand side is automatically rearranged as in the left-hand side.

(31)

The same using the dot operator `.`

(32)

(33)

NOTE: the dot product operator, `.`, is used to perform contractions or attachments in the space of quantum states. Therefore, in the case of tensor products, it returns using the star product operator `*`, in that there is no meaning for the contraction of tensors of different (disjointed) Hilbert spaces.

 

Regarding the product of a Bra and a Ket belonging to disjointed spaces, we also have, automatically,

(34)

(35)

So the left-hand side is rewritten as the right-hand side, and is not a "scalar product", but an operator in the tensor product of spaces, since  and  belong to different disjointed spaces.

 

Enclose again the input with ' ' to delay its evaluation

(36)

Release the evaluation

(37)

In the output above we see that  is not interpreted as contraction between an operator and Ket, but as the product of  acting on  where  is the identity (projector) onto the  space. That is, an operator of one disjointed space acts transparently over a Bra or a Ket of a different disjointed space. The same happens with  just that, while  moves to the right, jumping over a Bra or Ket (see (37)),  moves to the left:

(38)

(39)

NOTE: Although determining "who is the Dagger of who" is arbitrary, this implementation follows what we do with paper and pencil: operators act to their right while those having an explicit Dagger act to their left.

 

Finally, the notation used for tensor products of operators is the same one used for tensor products of Bras and Kets:

(40)

As explained in the Details of the design section, the ordering of the Hilbert spaces in tensor products is now preserved, so taking the Dagger does not swap the operands in this product:

(41)

Entangled States and the Bell basis

 

With the introduction of disjointed Hilbert spaces in Maple 2019 it is possible to represent entangled quantum states in a simple way, basically as done with paper and pencil.

 

Recalling the Hilbert spaces set at this point are,

(42)

where  acts on the tensor product of the spaces where  and  act. An eigenstate of  can then always be written as

(43)

where  is a matrix of complex coefficients. Bra states of  are formed as usual taking the Dagger

(44)

 

• 

By definition, all states  that can be written exactly as , that is, the product of an arbitrary state of the subspace A and another of the subspace B, are product states, and all the other ones are entangled states. Entanglement is a property that is independent of the basis used in (43).

The physical interpretation is the standard one: when the state of a system constituted by two subsystems A and B is represented by a product state, the properties of the subsystem A are well defined and all given by while those for the subsystem B by . When the system is in an entangled state one typically cannot assign definite properties to the individual subsystems A or B, each subsystem has no independent reality.

To determine whether a state  is entangled it then suffices to check the rank R of the matrix  (see LinearAlgebra:-Rank): when  the state is a product state, otherwise it is an entangled state. When the state being analyzed belongs to the tensor product of two subspaces,  is equivalent to having the determinant of  equal to 0. The condition , however, is more general, and suffices to determine whether a state is a product state also on a Hilbert space that is the tensor product of three or more subspaces: , in which case the matrix M will have more rows and columns and a determinant equal to 0 would only warrant the possibility of factorizing one Ket.

 

Example: the Bell basis for a system of two qubits

 

Consider a 2-dimensional space of states acted upon by the operator , and let  act upon another, disjointed, Hilbert space that is a replica of the Hilbert space on which  acts. Set the dimensions of ,  and  respectively equal to 2, 2 and 2x2 (see Setup)

(45)

The system C with the two subsystems A and B represents a two qubits system. The standard basis for C can be constructed in a natural way from the basis of Kets of A and B, , by taking their tensor products:

(46)

Set a more mathematical display for the imaginary unit

 

The four entangled Bell states also form a basis of C and are given by

(47)

(48)

(49)

(50)

(51)

There is no standard convention for the four linear combinations of the right-hand sides above defining the Bell states. The convention used here relates to the definition of these states using the Pauli matrices as shown further below. Regardless of the convention used, the Bell basis is orthonormal. That can be verified by taking dot products, for example:

(52)

In steps, perform the same operation but using the star (`*`) operator, so that the contraction is represented but not performed

(53)

Evaluate now the result at `*` = `.`, that is transforming the star product into a dot product

(54)

(55)

(56)

The Bell basis and its relation with the Pauli matrices

 

The Bell basis can be constructed departing from  using the Pauli matrices . For that purpose, using a Vector representation for ,

(57)

Multiplying by each of the  Pauli matrices and performing the matrix operations we have

(58)

(59)

In this result we see that  and  flip the state, transforming  into ,  also multiplies by the imaginary unit , while  leaves the state unchanged.

We can express all that by removing from (59) the Vector representations shown in (57). For that purpose, create a list of substitution equations

(60)

The action of  in is then given by

(61)

For , performing the same steps, the action of the Pauli matrices on it is

(62)

(63)

(64)

To obtain the other three Bell states using the results (61) and (64), indicate to the system that the Pauli matrices operate in the subspace where  operates

(65)

 

Multiplying  given in (48) by each of the three  we get the other three Bell states

(66)

(67)

Substitute in this result the first equations of (61) and (64)

(68)

(69)

(70)

(71)

This is  defined in (49)

(72)

(73)

Multiplying now by  and substituting  using the  equations of (61) and (64) we get

(74)

(75)

(76)

(77)

The above is  defined in (50)

(78)

(79)

Finally, multiplying  by

(80)

Substituting

(81)

(82)

We get

(83)

which is

(84)

(85)

Reset the symbol representing imaginary unit to use i as an index in the next section

Entangled States, Operators and Projectors

 

Consider a fourth operator, , that is Hermitian and acts on the same space of , has the same dimension, and  are its mean values in an entangled and product states respectively.

(86)

To operate in a practical way with these operators, Bras and Kets, bracket rules reflecting their relationship are necessary. From the definition of  as acting on the tensor product of spaces where  and  act (see (43)) and taking into account the dimensions specified for ,  and  we have

(87)

(88)

(89)

(90)

The bracket rules for ,  and  are the first two of these; Set these rules, so that the system can take them into account

(91)

If we now recompute (90), the left-hand side is also computed

(92)

Suppose now that you want to compute with the Hermitian operator , that operates on the same space as , both using C and the operators  and , as in

 

 

 

where  =  when  is a product (not entangled) state.

 

To compute taking into account  it suffices to set a bracket rule

(93)

After that,

(94)

Regarding , since  belongs to the tensor product of spaces A and B, it can be an entangled operator, one that you cannot represent just as a product of one operator acting on A times another one acting on B. A computational representation for the operator  (that is not just itself or as abstract) is not possible in the general case. For that you can use a different feature: define the action of the operator  on Kets of  and .

 

Basically, we want:

 

A program sketch for that would be:


if H is applied to a Ket of A or B and it still has not 4 indices then

    if H itself is indexed then
        return H with its indices followed by the index of the Ket
    else

        return H indexed by the index of the Ket;
otherwise
    return the dot product operation uncomputed, unevaluated

 

 

In the Maple language (see sec. 1.4) that program-sketch becomes

 

 

Let's see it in action. Start by erasing the Physics performance remember tables, which remember results computed before the definition of

 

(95)

Recalling that  is Hermitian,

(96)

(97)

(98)

(99)

Note that the definition of  as a procedure does not interfere with the setting of a bracket rule for it with , that is still working

(100)

where H = H when  is a product state. The definition of H takes precedence, so if in that definition you indicate what to do with a  Ket, that will be taken into account before the bracket rule.

 

• 

You can set the projectors for all these operators / spaces. For example,

(101)

Since the algebra rules for computing with eigenkets of ,  and  were already set in (91), from the projectors above you can construct any subspace projector, for example

(102)

(103)

The conjugate of  is due to the contraction or attachment from the right of (102), that is with

(104)

 

The coefficients  satisfy constraints due to the normalization of Kets of  and . One can derive these constraints by inserting the unit operator  in the identity

(105)

Transform this result into a function P  to explore the identity further

(106)

The first and third indices refer to the quantum numbers of , the second and fourth to , so the right-hand sides in the following are respectively 1 and 0

(107)

(108)

To get the whole system of equations satisfied by the coefficients , use P to construct an Array with four indices running from 0..1

Convert the whole Array into a set of equations

(109)

Coherent States in Quantum Mechanics

  

Coherent states are among the most relevant representations for the state of a quantum system. These states, which are naturally radiated from lasers, form an overcomplete basis and minimize the quantum uncertainty between position x and momentum p, so that they satisfy the Heisenberg uncertainty principle with equality and their expectation values satisfy the classical equations of motion. In this sense, coherent states represent the best possible compromise between quantities that are incompatible with regards to Heisenberg's principle. Coherent states are widely used in quantum optics, quantum information and play a key role in the description of quantum systems that can be likened to a harmonic oscillator, as for instance electromagnetic radiation, superfluids and super-conductors.

  

 

References

[1] Cohen-Tannoudji, C.; Diu, B.; and Laloe, F. Quantum Mechanics. Paris, France: Hermann, 1977.

[2] Massachusetts Institute of Technology OpenCourseWare, Quantum Physics II, Quantum Dynamics.

Definition and the basics

 

Set a quantum operator  and corresponding annihilation / creation operators

(110)

(111)

(112)

In what follows, on the left-hand sides the product operator used is `*`, which properly represents, but does not perform the attachment of Bras, Kets, and operators. On the right-hand sides the product operator is `.`, that performs the attachments. Since the introduction of Physics in the Maple system, we have that

(113)

(114)

(115)

New in Maple 2019: coherent states, the eigenstates of the annihilation operator , with all of their properties, are now understood as such by the system

(116)

 is an eigenket of  but not of  

(117)

The norm of these states is equal to 1

(118)

These states, however, are not orthonormal as the occupation number states  are, and since  is not Hermitian, its eigenvalues are not real but complex numbers. Instead of (115), in Maple 2019 we have

(119)

At ,

(120)

Their scalar product with the occupation number states , using the inert %Bracket on the left-hand side and the active Bracket on the other side:

(121)

The expansion of coherent states into occupation number states, first representing the product operation using `*`, then performing the attachments replacing `*` by `.`

(122)

(123)

(124)

Taking all into account,

(125)

Hide now the ket label. When in doubt, input show to see the Kets with their labels explicitly shown

(126)

Define eigenkets of the annihilation operator, with two different eigenvalues for experimentation

(127)

(128)

Because the properties of coherent states are now known to the system, the following computations proceed automatically in Maple 2019. The left-hand sides use the `*`, while the right-hand sides use the `.`

(129)

(130)

(131)

(132)

Properties of Coherent states

The mean value of the occupation number N

 

The occupation number operator N is given by

(133)

(134)

(135)

N is diagonal in the  basis of the Fock (occupation number) space

(136)
• 

The mean value of N in a coherent state

(137)

(138)

The mean value of

(139)

(140)

The standard deviation  for a state

(141)

In conclusion, a coherent state  has a finite spreading .  Coherent states are good approximations for the states of a laser, where the laser intensity I  is proportional to the mean value of the photon number, I f , and so the intensity fluctuation, .

• 

The mean value of the occupation number N in an occupation number state

(142)

(143)

The mean value of the occupation number N in a state  is thus n itself, as expected since represents a (Fock space) state of n (quasi-) particles. Accordingly,

(144)

(145)

The standard deviation  for a state , is thus

(146)

That is, in a Fock state, , there is no intensity fluctuation.

 

The specific properties of coherent states implemented in Maple 2019 can be derived explicitly departing from the projection of  into the basis of occupation number states and the definition of  as the operator that annihilates the vacuum

(147)

(148)

To derive  from the formula above, start multiplying by

(149)

In view of , discard the first term of the sum

(150)

Change variables ; in the result rename

(151)

Activate the product  by replacing, in the right-hand side, the product operator `*` by `.`

(152)

By inspection the right-hand side of (152) is equal to  times the right-hand side of (148)

(153)

(154)
• 

Overview of the coherent states distribution

 

Consider the projection of  over an occupation number state

(155)

An overview of the distribution of coherent states  for a sample of values of n and  is thus as follows

The distribution can be explored for ranges of values of n and  using Explore

 

To verify this identity, construct each of the three terms, then simplify the result. Recalling the projection of a coherent stateinto the basis of occupation number states,

(156)

The third term of this identity is thus

(157)

The first term, on the left-hand side, is obtained multiplying by

(158)

To have the three terms with in the summand, change variables ; in the result rename

(159)

The radical in the summand can be rewritten taking into account that, when n is a positive integer,

(160)

This identity can be verified as follows

(161)

(162)

The summand, at , is equal to 0

(163)

(164)

Rewriting then the sum to start from 0

(165)

 

The second term of this identity is obtained by differentiation of (156)

(166)

Putting the three terms together,

(167)

Combining the sums the identity is verified

(168)

 =

The coherent state  can be constructed from the vacuum state using the operator .

(169)

(170)

New in Maple 2019, the conversion network for mathematical functions can be used with not-commutative variables;  develop the exponential function of  in power series:

(171)

So becomes

(172)

Therefore, for ·, we have

(173)

(174)

By inspection the right-hand side is already the projection of into the basis or occupation number states computed previously in (148)

(175)

(176)

(177)

Remark:  is not unitary,

(178)

(179)

  =

Here, we use another operator, =  to construct  from the vacuum.  is sometime called the "displacement" operator. It has the advantage over  that is unitary,As a consequence:  .

(180)

This operator is unitary

(181)

(182)

To verify that one can proceed as in the above, or directly compute their commutator, expecting .

(183)

(184)

For ·, start multiplying by

(185)

(186)

Recalling the definition of in the previous section

(187)

The expression above (186) can be simplified using this definition

(188)

(189)

In turn  can be computed by replacing the `*` product by a dot product `.`

(190)

Finally, we arrive at the desired result recalling the result of the previous section,

(191)

(192)

The identity in the title can be derived departing again from the projection of a coherent stateinto the basis of occupation number states

(193)

(194)

Taking the `*` product of these two expressions

(195)

Perform the attachment of Bras and Kets on the right-hand side by replacing `*` by `.`, evaluating the sum and simplifying the result

(196)
• 

Overview of the real and imaginary part of

 

In most cases,  and  are complex valued numbers. Below, the plots assume that  and  are both real. To take into account the general case, the possibility to tune a phase difference  between  and  is explicitly added, so that (196) becomes

 

(197)

 

Continue reading about new Physics features: What's New in Physics, Continued

See Also

Index of New Maple 2019 Features, Physics , Computer Algebra for Theoretical Physics, The Physics project, The Physics Updates


Download Help Document