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 A and B are quantum operators and Aα,Bβ are, respectively, their eigenkets. The following works since the introduction of the Physics package in Maple

withPhysics:

Setupop=A,B

* Partial match of 'op' against keyword 'quantumoperators'

_______________________________________________________

quantumoperators=A,B

(1)

A  KetA,alpha = A . KetA,alpha

AAα=αAα

(2)

B  KetB,beta = B . KetB,beta

BBβ=βBβ

(3)

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

 

1) To represent that situation, a new keyword in Setup, hilbertspaces, is introduced. With it you can indicate the quantum operators that act on a Hilbert space, say as in hilbertspaces=A,B with the meaning that the operator A acts on one Hilbert space while B 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 - hilbertspaces=A,B, automatically, A,B become quantum operators satisfying (see comment (ii) on page 156 of ref.[1])

 

A,B=0

 

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]):

 

AαBβ=BβAα 

 

AαBβ=BβAα 

 

while

AαAβAβAα

 

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

 

ABn=BnA

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

BnA=ABn

 

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 AnBn instead of AnBn, and AB instead of AB. The product of an operator A of one space and a Ket of another space  Bn however, is displayed  BnA, 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 Setuphideketlabel=true,
    

 Am,n,l  

is displayed as

  m,n,l 

 

  

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 A and B is consistent with A,B=0, 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 A,E acting on it and the other has operators B,C then a product of contiguous eigenkets of these operators is sorted as

 

AEBC

 

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 A is sorted before B) and within a subspace, the Kets are also sorted alphabetically (so A before E, then in the second subspace B before C).

 

Regarding the notation for the Dagger of a tensor product of states, say AαBβ the standard convention for tensor products is to preserve the order, as in AαBβ=AαBβ 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 Cα,β, and Cα,βas Cα,β, 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

A0B1B0A1

 

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 A and B, we would have

 

0101

which would be misleading. Likewise,

A0B1=B1A0

and removing the labels we would get the misleading

01= 1  0 

 

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 A,C acting on one of them and B,C on the other one (you can think of  C=AB)

 

Setuphilbertspaces=A,C,B,C

disjointedspaces=A,C,B,C

(4)

 

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

KetA,1 KetB,0

A1B0

(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)

  Dagger

A1B0A1B0

(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, (A1A1)(B0B0) 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

Setuphide=true

* Partial match of 'hide' against keyword 'hideketlabel'

_______________________________________________________

hideketlabel=true

(7)

The display for (6) is now

1010

(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)

show

A1B0A1B0

(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:

`*` = `.`A, KetA,1;

A1=1

(10)

`*` = `.`A,  KetA,0;

A0=0

(11)
• 

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

A B

AB

(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

'  ' 

AB1010

(13)

Release the product

%

A1B010

(14)

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

' . ' 

AB·1010

(15)

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

B·B0

0

(16)

by releasing the delayed product (15) we have

0

(17)

Reset hideketlabel

Setuphideketlabel = false

hideketlabel=false

(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

Library:-BelongToDifferentDisjointedSpacesA,B

true

(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

Library:-BelongToTheSameDisjointedSpaceA,B

false

(20)

Library:-BelongToTheSameDisjointedSpaceA,C

true

(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

Library:-BelongToDisjointedSpacesA,B,C

true

(22)

Setupop = E

* Partial match of 'op' against keyword 'quantumoperators'

_______________________________________________________

quantumoperators=A,B,C,E

(23)

Library:-BelongToDisjointedSpacesE

false

(24)

Library:-BelongToDisjointedSpacesA,B,E

false

(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,

Setupdimension = 3, signature = `+`, coordinates=cartesian, quantumoperators=X,quiet

coordinatesystems=X,dimension=3,quantumoperators=A,B,C,E,x,y,z,signature=+ + +

(26)

Library:-BelongToDifferentDisjointedSpacesx,y

true

(27)
  

Remove the coordinates from the quantum operators set

Setupclear, op = X

* Partial match of 'op' against keyword 'quantumoperators'

_______________________________________________________

quantumoperators=A,B,C,E

(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

 

Setuphide = false

* Partial match of 'hide' against keyword 'hideketlabel'

_______________________________________________________

hideketlabel=false

(29)

' KetA,n KetB,m = KetB,m KetA,n '

AnBm=BmAn

(30)

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

%

AnBm=AnBm

(31)

The same using the dot operator `.`

' KetA,n. KetB,m = KetB,m. KetA,n '

An·Bm=Bm·An

(32)

AnBm=AnBm

(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,

' BraA, n KetB,n =  KetB,n BraA, n '

AnBn=BnAn

(34)

%

BnAn=BnAn

(35)

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

 

Enclose again the input with ' ' to delay its evaluation

' A  KetB, n = KetB, n  A '

ABn=BnA

(36)

Release the evaluation

%

BnA=BnA

(37)

In the output above we see that A·Bn is not interpreted as contraction between an operator and Ket, but as the product of A=A𝕀B acting on Bn where 𝕀B is the identity (projector) onto the B 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 A just that, while A moves to the right, jumping over a Bra or Ket (see (37)), A moves to the left:

' DaggerA  BraB, n = BraB, n  DaggerA '

ABn=BnA

(38)

%

ABn=ABn

(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:

A  B

AB

(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:

Dagger

AB

(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,

Setuphilbert 

* Partial match of 'hilbert' against keyword 'hilbertspaces'

_______________________________________________________

disjointedspaces=A,C,B,C

(42)

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

KetC,m,n = SumSumMj,p KetA,j KetB,p,j, p

Cm,n=pjMj,pAjBp

(43)

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

Dagger

Cm,n=pjMj,p&conjugate0;AjBp

(44)

 

• 

By definition, all states Cm,n that can be written exactly as AmBn, 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 AjBpused 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 Aj,while those for the subsystem B by Bp. 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 Cn,m is entangled it then suffices to check the rank R of the matrix Mj,p (see LinearAlgebra:-Rank): when R=1 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, R=1 is equivalent to having the determinant of Mj,p equal to 0. The condition R=1, 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: ℋ=ℋ123... n, 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 A, and let B act upon another, disjointed, Hilbert space that is a replica of the Hilbert space on which A acts. Set the dimensions of A, B and C respectively equal to 2, 2 and 2x2 (see Setup)

Setupquantumbasisdimension = A = 2, B = 2, C1 = 2, C2 = 2

quantumbasisdimension=A=2,B=2,C1=2,C2=2

(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, A0,A1,B0,B1, by taking their tensor products:

seqseqKetA,jKetB,k,k=0..1,j=0..1

A0B0,A0B1,A1B0,A1B1

(46)

Set a more mathematical display for the imaginary unit

interfaceimaginaryunit = i:

 

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

Setupop = ℬ

* Partial match of 'op' against keyword 'quantumoperators'

_______________________________________________________

quantumoperators=,A,B,C,E

(47)

Ketℬ,0 = 1'sqrt'2KetA,0 KetB,0 + KetA,1 KetB,1

0=A0B0+A1B12

(48)

Ketℬ,1 = 1'sqrt'2KetA,0 KetB,1 + KetA,1 KetB,0

1=A0B1+A1B02

(49)

Ketℬ,2 = i'sqrt'2KetA,0 KetB,1  KetA,1 KetB,0

2=A0B1A1B02

(50)

Ketℬ,3 = 1'sqrt'2KetA,0 KetB,0  KetA,1 KetB,1

3=A0B0A1B12

(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:

Dagger . 

1=1

(52)

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

Dagger  

00=A0B0+A1B1A0B0+A1B12

(53)

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

eval, `*` = `.`

1=1

(54)

Dagger  

01=A0B0+A1B1A0B1+A1B02

(55)

eval, `*` = `.`

0=0

(56)

The Bell basis and its relation with the Pauli matrices

 

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

KetB,0 = Vector1,0, KetB,1 = Vector0,1

B0=10,B1=01

(57)

Multiplying B0by each of the σj Pauli matrices and performing the matrix operations we have

seqPsigmaj  1,  j=1..3

σ1B0=σ110,σ2B0=σ210,σ3B0=σ310

(58)

Library:-PerformMatrixOperations,only=righthandsides

σ1B0=01,σ2B0=0,σ3B0=10

(59)

In this result we see that σ1 and σ2 flip the state, transforming B0 into B1, σ2 also multiplies by the imaginary unit , while σ3 leaves the state B0unchanged.

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

maprhs = lhs,, i ~ 

10=B0,01=B1,0=B0,0=B1

(60)

The action of σj in B0is then given by

Library:-SubstituteMatrix,

σ1B0=B1,σ2B0=B1,σ3B0=B0

(61)

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

seqPsigmaj  2, j=1..3

σ1B1=σ101,σ2B1=σ201,σ3B1=σ301

(62)

Library:-PerformMatrixOperations,only=righthandsides

σ1B1=10,σ2B1=−ⅈ0,σ3B1=0−1

(63)

Library:-SubstituteMatrix,

σ1B1=B0,σ2B1=−ⅈB0,σ3B1=B1

(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 B operates

Setuphilbert = B,C,Psigma

* Partial match of 'hilbert' against keyword 'hilbertspaces'

_______________________________________________________

disjointedspaces=A,C,B,C,σ

(65)

 

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

0=2A0B0+A1B12

(66)

Psigma1  

σ10=2σ1A0B0+A1B12

(67)

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

1, 1

σ1B0=B1,σ1B1=B0

(68)

maprhs=lhs,

B1=σ1B0,B0=σ1B1

(69)

subs,

σ10=2σ1A0σ1B1+A1σ1B02

(70)

factorSimplify

σ10=2A0B1+A1B02

(71)

This is  ℬ1 defined in (49)

1=2A0B1+A1B02

(72)

σ101=0

(73)

Multiplying now by σ2 and substituting Bj using the 2nd equations of (61) and (64) we get  ℬ2

Psigma2  

σ20=2σ2A0B0+A1B12

(74)

2, 2

σ2B0=B1,σ2B1=−ⅈB0

(75)

zipisolate,,KetB,1,KetB,0

B1=−ⅈσ2B0,B0=σ2B1

(76)

factorSimplifysubs,

σ20=22A0B1A1B0

(77)

The above is  ℬ 2 defined in (50)

2=22A0B1A1B0

(78)

Expand

σ202=0

(79)

Finally, multiplying  ℬ0 by σ3

Psigma3  

σ30=2σ3A0B0+A1B12

(80)

Substituting

3, 3

σ3B0=B0,σ3B1=B1

(81)

rhs=lhs 1, rhs = lhs2

B0=σ3B0,B1=σ3B1

(82)

We get

factorSimplifysubs,

σ30=2A0B0A1B12

(83)

which is  ℬ3

3=2A0B0A1B12

(84)

Expand

σ303=0

(85)

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

interfaceimaginaryunit = I:

Entangled States, Operators and Projectors

 

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

Setupadditionally, hermitian = H, basisdimension = H1 = 2, H2=2, hilbertspaces = A,C,H,B,C,H,realobjects = ℋ,ℍ

* Partial match of 'hermitian' against keyword 'hermitianoperators'

* Partial match of 'basisdimension' against keyword 'quantumbasisdimension'

_______________________________________________________

disjointedspaces=A,C,H,B,C,H,B,C,σ,hermitianoperators=H,quantumbasisdimension=A=2,B=2,C1=2,C2=2,H1=2,H2=2,realobjects=,,x,y,z

(86)

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

KetC,a, b = SumSumMa,j,b,p KetA,j KetB,p,j=0..1, p=0..1

Ca,b=p=01j=01Ma,j,b,pAjBp

(87)

Ak·

Ak|Ca,b=p=01Ma,k,b,pBp

(88)

Bk·

Bk|Ca,b=j=01Ma,j,b,kAj

(89)

Ak·Bl· 

AkBl|Ca,b=Ma,k,b,l

(90)

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

Setup, 

bracketrules=Ak|Ca,b=p=01Ma,k,b,pBp,Bk|Ca,b=j=01Ma,j,b,kAj

(91)

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

Ak·Bl· 

Ma,k,b,l=Ma,k,b,l

(92)

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

 

C,j|H|Ck,l=ℋi,j,k,l

 

ABjHAkBl=ℍ,j,k,l

 

where i,j,k,l = ℍ,j,k,l when Ci,j is a product (not entangled) state.

 

To compute taking into account C,j|H|Ck,l=ℋ,j,k,l it suffices to set a bracket rule

Setup%BracketBraC,a,b,H,KetC,c,d = ℋa,b,c,d, real=ℋ

* Partial match of 'real' against keyword 'realobjects'

_______________________________________________________

bracketrules=Ak|Ca,b=p=01Ma,k,b,pBp,Bk|Ca,b=j=01Ma,j,b,kAj,Ca,b|H|Cc,d=a,b,c,d,realobjects=,,x,y,z

(93)

After that,

Cj,k·H·Cm,n

j,k,m,n

(94)

Regarding ABjHAkBl=ℍ,j,k,l, since H 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 BjHAk (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 H on Kets of A and B.

 

Basically, we want:

 

H·Ak Hk

Hk· AlHk,l ...Hi,j,k·Al i,j,k,l

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

 

H  K   if procnameNotindexed or nopsprocname < 4 and KKet and op1&comma; K&apos;identicalA&comma;B&apos; then     if procname&apos;indexed&apos; then        if nopsprocname &equals; 3 then          opprocname&comma; op2&comma; K    &num; no more indices to be accumulated, scalar result       else          Hopprocname&comma; op2&comma; K    &num; accumulate indices, operator result       fi    else         Hop2&comma; K    fi else     &apos;procname &period; K&apos; fi&colon;

 

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

 

Library:-Forget

H·Ak

Hk

(95)

Recalling that H is Hermitian,

Bj·H

Hj

(96)

Bj·H·Ak

Hj,k

(97)

Bj·H·Ak·Bl

Hj,k,l

(98)

Ai·Bj·H·Ak·Bl

i,j,k,l

(99)

Note that the definition of H as a procedure does not interfere with the setting of a bracket rule for it with Ca&comma;b, that is still working

Ci&comma;j·H·Ck&comma;l

i,j,k,l

(100)

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

 

• 

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

&Iopf;__A   ProjectorKetA&comma;i&semi;&Iopf;__B   ProjectorKetB&comma;i&semi;&Iopf;__C   ProjectorKetC&comma;a&comma;b

&Iopf;__Ai=01AiAi

&Iopf;__Bi=01BiBi

&Iopf;__Cb=01a=01Ca&comma;bCa&comma;b

(101)

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

BraA&comma;m &period; &Iopf;__C

b=01a=01p=01Ma,m,b,pBpCa&comma;b

(102)

&Iopf;__C  &period; KetA&comma; m

b=01a=01p=01Ma,m,b,p&conjugate0;Ca&comma;bBp

(103)

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

Dagger

Ca&comma;b=p=01j=01Ma,j,b,p&conjugate0;AjBp

(104)

 

The coefficients Ma,m,b,p satisfy constraints due to the normalization of Kets of A and B. One can derive these constraints by inserting the unit operator &Iopf;__C in the identity

Am·Bn·&Iopf;__C·Ar·Bs=Am·Bn·Ar·Bs

b=01a=01Ma,r,b,s&conjugate0;Ma,m,b,n=δm,rδn,s

(105)

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

P  unapplysubsSum&equals;sum&comma;&comma;m&comma;n&comma;r&comma;s

Pm&comma;n&comma;r&comma;sb=01a=01Ma,r,b,s&conjugate0;Ma,m,b,n=δm,rδn,s

(106)

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

P1&comma;0&comma;1&comma;0

M0,1,0,0&conjugate0;M0,1,0,0+M1,1,0,0&conjugate0;M1,1,0,0+M0,1,1,0&conjugate0;M0,1,1,0+M1,1,1,0&conjugate0;M1,1,1,0=1

(107)

P1&comma;0&comma;0&comma;0

M0,0,0,0&conjugate0;M0,1,0,0+M1,0,0,0&conjugate0;M1,1,0,0+M0,0,1,0&conjugate0;M0,1,1,0+M1,0,1,0&conjugate0;M1,1,1,0=0

(108)

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

Array0..1 &dollar; 4&comma; P

Convert the whole Array into a set of equations

simplifyconvert&comma;setofequations

M0,0,0,02+M1,0,0,02+M0,0,1,02+M1,0,1,02=1&comma;M0,0,0,12+M1,0,0,12+M0,0,1,12+M1,0,1,12=1&comma;M0,1,0,02+M1,1,0,02+M0,1,1,02+M1,1,1,02=1&comma;M0,1,0,12+M1,1,0,12+M0,1,1,12+M1,1,1,12=1&comma;M0,0,0,0&conjugate0;M0,0,0,1+M1,0,0,0&conjugate0;M1,0,0,1+M0,0,1,0&conjugate0;M0,0,1,1+M1,0,1,0&conjugate0;M1,0,1,1=0&comma;M0,0,0,0&conjugate0;M0,1,0,0+M1,0,0,0&conjugate0;M1,1,0,0+M0,0,1,0&conjugate0;M0,1,1,0+M1,0,1,0&conjugate0;M1,1,1,0=0&comma;M0,0,0,0&conjugate0;M0,1,0,1+M1,0,0,0&conjugate0;M1,1,0,1+M0,0,1,0&conjugate0;M0,1,1,1+M1,0,1,0&conjugate0;M1,1,1,1=0&comma;M0,0,0,1&conjugate0;M0,0,0,0+M1,0,0,1&conjugate0;M1,0,0,0+M0,0,1,1&conjugate0;M0,0,1,0+M1,0,1,1&conjugate0;M1,0,1,0=0&comma;M0,0,0,1&conjugate0;M0,1,0,0+M1,0,0,1&conjugate0;M1,1,0,0+M0,0,1,1&conjugate0;M0,1,1,0+M1,0,1,1&conjugate0;M1,1,1,0=0&comma;M0,0,0,1&conjugate0;M0,1,0,1+M1,0,0,1&conjugate0;M1,1,0,1+M0,0,1,1&conjugate0;M0,1,1,1+M1,0,1,1&conjugate0;M1,1,1,1=0&comma;M0,1,0,0&conjugate0;M0,0,0,0+M1,1,0,0&conjugate0;M1,0,0,0+M0,1,1,0&conjugate0;M0,0,1,0+M1,1,1,0&conjugate0;M1,0,1,0=0&comma;M0,1,0,0&conjugate0;M0,0,0,1+M1,1,0,0&conjugate0;M1,0,0,1+M0,1,1,0&conjugate0;M0,0,1,1+M1,1,1,0&conjugate0;M1,0,1,1=0&comma;M0,1,0,0&conjugate0;M0,1,0,1+M1,1,0,0&conjugate0;M1,1,0,1+M0,1,1,0&conjugate0;M0,1,1,1+M1,1,1,0&conjugate0;M1,1,1,1=0&comma;M0,1,0,1&conjugate0;M0,0,0,0+M1,1,0,1&conjugate0;M1,0,0,0+M0,1,1,1&conjugate0;M0,0,1,0+M1,1,1,1&conjugate0;M1,0,1,0=0&comma;M0,1,0,1&conjugate0;M0,0,0,1+M1,1,0,1&conjugate0;M1,0,0,1+M0,1,1,1&conjugate0;M0,0,1,1+M1,1,1,1&conjugate0;M1,0,1,1=0&comma;M0,1,0,1&conjugate0;M0,1,0,0+M1,1,0,1&conjugate0;M1,1,0,0+M0,1,1,1&conjugate0;M0,1,1,0+M1,1,1,1&conjugate0;M1,1,1,0=0

(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

restart&semi; withPhysics&colon;

 

Set a quantum operator A and corresponding annihilation / creation operators

Setupquantumoperators &equals; A

quantumoperators=A

(110)

am  AnnihilationA

ama

(111)

ap  CreationA

apa+

(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

am  KetA&comma;n &equals; am &period; KetA&comma;n

aAn=nAn1

(113)

%Bracket&equals; BracketBraA&comma; n &comma; KetA&comma; n

An|An=1

(114)

%Bracket&equals; BracketBraA&comma; n &comma; KetA&comma; m

An|Am=δm,n

(115)

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

am  Ketam&comma; alpha &equals; am &period; Ketam&comma; alpha

aaα=αaα

(116)

 aα is an eigenket of a but not of  a+

ap &period; Ketam&comma; alpha

a+·aα

(117)

The norm of these states is equal to 1

%Bracket&equals; BracketBraam&comma; alpha &comma; Ketam&comma; alpha

aα|aα=1

(118)

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

%Bracket&equals; BracketBraam&comma; alpha &comma; Ketam&comma; beta

aα|aβ=&ExponentialE;α22β22+α&conjugate0;β

(119)

At α=β,

simplifyeval&comma;alpha&equals;beta

1=1

(120)

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

%Bracket&equals; BracketBraA&comma; n &comma; Ketam&comma;alpha

An|aα=&ExponentialE;α22αnn!

(121)

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

ProjectorKetA&comma;n&comma;dimension &equals; infinity

n=0AnAn

(122)

Ketam&comma;alpha &equals;    Ketam&comma;alpha

aα=n=0AnAnaα

(123)

eval&comma;`*` &equals; `.`

aα=n=0&ExponentialE;α22αnAnn!

(124)

Taking all into account,

An·

&ExponentialE;α22αnn!=&ExponentialE;α22αnn!

(125)

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

Setuphide&equals;true

* Partial match of 'hide' against keyword 'hideketlabel'

_______________________________________________________

hideketlabel=true

(126)

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

K__&alpha;  Ketam&comma; alpha

K__&alpha;α

(127)

K__&beta;  Ketam&comma; beta

K__&beta;β

(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 `.`

`*` &equals; `.`DaggerK__&alpha; &comma; ap &comma; am &comma; K__&alpha;

αa+aα=α2

(129)

`*` &equals; `.`DaggerK__&alpha; &comma;ap &plus; am &comma;K__&alpha;

αa++aα=α&conjugate0;+α

(130)

`*` &equals; `.`DaggerK__&alpha; &comma;ap  am &comma; K__&alpha;

αa+aα=α&conjugate0;α

(131)

`*` &equals; `.`DaggerK__&alpha;&comma; ap &plus; am2 &comma; K__&alpha;

αa++a2α=α&conjugate0;2+2α2+1+α2

(132)

Properties of Coherent states

The mean value of the occupation number N

 

The occupation number operator N is given by

Nap·am

Na+a

(133)

N is Hermitian

%DaggerN&equals;N 

a+a=a+a

(134)

value

a+a=a+a

(135)

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

`*` &equals; `.`BraA&comma;n&comma;N&comma;KetA&comma;p

na+ap=pδn,p

(136)
• 

The mean value of N in a coherent state  aαα

Bracket%N&alpha; &equals; %BracketBraam&comma; α&comma; N&comma; Ketam&comma; α

Nα=α|a+a|α

(137)

value

Nα=α2

(138)

The mean value of N2

Bracket%N2α &equals; %BracketBraam&comma; α&comma; N2&comma; Ketam&comma; α

N2α=α|a+a2|α

(139)

value

N2α=α4+α2

(140)

The standard deviation &Delta;N&equals;N2αNα2 for a state  aα

  212

Nα2+N2α=α

(141)

In conclusion, a coherent state  α  has a finite spreading &Delta;N&equals;α.  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 Nα=α2, and so the intensity fluctuation, Iα.

• 

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

Bracket%Nn&equals;%BracketBraA&comma; n&comma; N&comma; KetA&comma; n  

Nn=n|a+a|n

(142)

value

Nn=n

(143)

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

Bracket%N2n&equals;%BracketBraA&comma; n&comma; N2&comma; KetA&comma; n

N2n=n|a+a2|n

(144)

value

N2n=n2

(145)

The standard deviation &Delta;N&equals;N2nNn2 for a state  An, is thus

212

Nn2+N2n=0

(146)

That is, in a Fock state, &Delta;N&equals;0, there is no intensity fluctuation.

aα &equals; αα

 

The specific properties of coherent states implemented in Maple 2019 can be derived explicitly departing from the projection of α into the nbasis of occupation number states and the definition of a as the operator that annihilates the vacuum a 0 &equals;0

Ketam&comma;alpha &equals;    Ketam&comma;alpha

α=n=0nnα

(147)

eval&comma;`*`&equals;`.`

α=n=0&ExponentialE;α22αnnn!

(148)

To derive aα=αα from the formula above, start multiplying by a

am  

aα=an=0&ExponentialE;α22αnnn!

(149)

In view of a0=0, discard the first term of the sum

subs0&equals;1&comma;

aα=an=1&ExponentialE;α22αnnn!

(150)

Change variables n&equals;k&plus;1; in the result rename k&rarr;n

subsk &equals; n&comma; PDEtools:-dchangen&equals;k&plus;1&comma;&comma;combine&commat;simplify

aα=n=0&ExponentialE;α22an+1αn+1n!n+1

(151)

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

lhs &equals; evalrhs&comma;`*`&equals;`.`

aα=n=0&ExponentialE;α22nαn+1n!

(152)

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

alpha  

ααaα=αn=0&ExponentialE;α22αnnn!n=0&ExponentialE;α22nαn+1n!

(153)

combine

ααaα=0

(154)
• 

Overview of the coherent states distribution

 

Consider the projection of α over an occupation number state n

%BracketBraA&comma;n&comma;lhs &equals; BracketBraA&comma;n&comma;rhs

n|α=&ExponentialE;α22αnn!

(155)

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

plot3drhs&comma; n &equals; 0 .. 25&comma; &alpha; &equals; 0 .. 10&comma; axes &equals; boxed&comma; caption &equals; lhs

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

NATypesetting:-Typesetn|α&colon;

Exploreplotrhs&comma;n=0..200&comma;view=0..0.6&comma;labels=n&comma;NA&comma;parameters=α=0..10&comma;initialvalues=α=5

α

 

a+α&equals; α α&plus;α&conjugate0;2 α

To verify this identity, construct each of the three terms, then simplify the result. Recalling the projection of a coherent stateαinto the nbasis of occupation number states,

α=n=0&ExponentialE;α22αnnn!

(156)

The third term of this identity is thus

T__3  conjugate&alpha;2

T__3α&conjugate0;α2=α&conjugate0;n=0&ExponentialE;α22αnnn!2

(157)

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

ap &period; 

a+·α=n=0&ExponentialE;α22αnn+1n+1n!

(158)

To have the three terms with nin the summand, change variables n&equals;k1; in the result rename k&rarr;n

subsk &equals; n&comma; convertPDEtools:-dchangen&equals;k1&comma;&comma;simplify&comma;factorial

a+·α=n=1&ExponentialE;α22αn1nnn1!

(159)

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

1sqrtn1&excl; &equals; sqrtnsqrtn&excl;

1n1!=nn!

(160)

This identity can be verified as follows

simplifylhsrhs assuming nposint

0

(161)

subs&comma;

a+·α=n=1&ExponentialE;α22αn1nnn!

(162)

The summand, at n&equals;0, is equal to 0

summand  op1&comma;rhs

summand&ExponentialE;α22αn1nnn!

(163)

evalsummand&comma;n&equals;0

0

(164)

Rewriting then the sum to start from 0

T__1  convertsubs1..infinity &equals; 0..infinity&comma;&comma; factorial

T__1a+·α=n=0&ExponentialE;α22αn1nnn!

(165)

 

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

T__2  diff&comma;alpha

T__2&DifferentialD;&DifferentialD;αα=n=0α&conjugate0;&ExponentialE;α22αnn2n!+&ExponentialE;α22αnnnαn!

(166)

Putting the three terms together,

T__1T__2T__3

a+·α&DifferentialD;&DifferentialD;ααα&conjugate0;α2=n=0&ExponentialE;α22αn1nnn!n=0α&conjugate0;&ExponentialE;α22αnn2n!+&ExponentialE;α22αnnnαn!α&conjugate0;n=0&ExponentialE;α22αnnn!2

(167)

Combining the sums the identity is verified

combine

a+·α&DifferentialD;&DifferentialD;ααα&conjugate0;α2=0

(168)

&ExponentialE;α22&ExponentialE;αa+ 0  = α

The coherent state α can be constructed from the vacuum state using the operator 𝒟1&equals; exp12 α2&ExponentialE;&alpha;a+.

Setupquantumoperators&equals;&Dscr;

quantumoperators=𝒟&comma;A

(169)

&Dscr;1=&ExponentialE;12α2&ExponentialE;αap

𝒟1=&ExponentialE;α22&ExponentialE;αa+

(170)

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

exp&alpha; ap &equals; convertexp&alpha; ap&comma;Sum

&ExponentialE;αa+=_k1=0αa+_k1_k1!

(171)

So 𝒟1 becomes

subs&comma;_k1&equals;n&comma;

𝒟1=&ExponentialE;α22n=0αa+nn!

(172)

Therefore, for 𝒟1· 0 , we have

·KetA&comma;0

𝒟1·0=n=0&ExponentialE;α22αa+n·0n!

(173)

combineExpand

𝒟1·0=n=0&ExponentialE;α22αnnn!

(174)

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

α=n=0&ExponentialE;α22αnnn!

(175)

𝒟1·0α=0

(176)

isolate&comma;&Dscr;1·0

𝒟1·0=α

(177)

Remark: 𝒟1 is not unitary, 𝒟1𝒟11

Dagger  

𝒟1𝒟1=&ExponentialE;α222&ExponentialE;α&conjugate0;a&ExponentialE;αa+

(178)

simplify

𝒟1𝒟1=&ExponentialE;α&conjugate0;a+αa+α22

(179)

 &ExponentialE;αa+α&conjugate0;a  0  = α

Here, we use another operator, 𝒟2= &ExponentialE;αaα&conjugate0;a  to construct α from the vacuum. 𝒟2 is sometime called the "displacement" operator. It has the advantage over 𝒟1 that 𝒟2is unitary,𝒟2𝒟2&equals;𝒟2𝒟2&equals;1. As a consequence:  𝒟2· 0 &equals;α𝒟2·α&equals; 0 .

𝒟2&equals;&ExponentialE;&alpha; apα&conjugate0; am

𝒟2=&ExponentialE;αa+α&conjugate0;a

(180)

This operator is unitary

Dagger

𝒟2𝒟2=&ExponentialE;αa+α&conjugate0;a&ExponentialE;α&conjugate0;aαa+

(181)

Simplify

𝒟2𝒟2=1

(182)

To verify that 𝒟2𝒟2&equals;1 one can proceed as in the above, or directly compute their commutator, expecting 𝒟2&comma;𝒟2&equals;0.

%Commutator&comma;Dagger

𝒟2=&ExponentialE;αa+α&conjugate0;a,𝒟2=&ExponentialE;α&conjugate0;aαa+

(183)

value%

𝒟2,𝒟2=0

(184)

For 𝒟2· 0  &equals; &alpha; , start multiplying by 𝒟2

KetA&comma;0

𝒟20=&ExponentialE;αa+α&conjugate0;a0

(185)

simplifyexpand

𝒟20=&ExponentialE;αa+&ExponentialE;α&conjugate0;a0&ExponentialE;α22

(186)

Recalling the definition of 𝒟1in the previous section

𝒟1=&ExponentialE;α22&ExponentialE;αa+

(187)

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

isolate&comma;&ExponentialE;αap

&ExponentialE;αa+=𝒟1&ExponentialE;α22

(188)

simplifysubs&comma;

𝒟20=𝒟1&ExponentialE;α&conjugate0;a0

(189)

In turn &ExponentialE;α&conjugate0;a0 can be computed by replacing the `*` product by a dot product `.`

eval&comma;`*`&equals;`.`

𝒟2·0=𝒟1·0

(190)

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

𝒟1·0=α

(191)

subs&comma;

𝒟2·0=α

(192)

β&verbar;α=&ExponentialE;β&conjugate0;α12β212α2

The identity in the title can be derived departing again from the projection of a coherent stateαinto the nbasis of occupation number states

α=n=0&ExponentialE;α22αnnn!

(193)

Daggersubs&alpha;&equals;&beta;&comma;n&equals;k&comma;

β=k=0&ExponentialE;β22β&conjugate0;kkk!

(194)

Taking the `*` product of these two expressions

  

βα=k=0&ExponentialE;β22β&conjugate0;kkk!n=0&ExponentialE;α22αnnn!

(195)

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

lhs &equals; simplifyvalueevalrhs&comma;`*`&equals;`.`

βα=&ExponentialE;β22α22+αβ&conjugate0;

(196)
• 

Overview of the real and imaginary part of β&verbar;α

 

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

 

β|α=subsβ&conjugate0;=β&conjugate0;&ExponentialE;θI&comma;rhs

β|α=&ExponentialE;β22α22+αβ&conjugate0;&ExponentialE;Iθ

(197)

Exploreplot3drhs&comma;&alpha; &equals; 10 .. 10&comma; &beta; &equals; 10 .. 10&comma; view &equals; 1 .. 1&comma; orientation&equals;12&comma; 74&comma; 3&comma;axes &equals; boxed&comma; parameters &equals; θ &equals; 0 .. 2π&comma; initialvalues &equals; &theta;&equals;π10

θ

 

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