How do I do Wick contraction with Dirac bracket?
up vote
1
down vote
favorite
So I would like to be able to draw Wick contraction with Dirac bracket, the Dirac bracket is produced with package physics, and the mwe is
documentclass{article}
usepackage{physics}
begin{document}
$$
mathcal{M}_{hat{s}} sim mel**{k , k'}{overline{psi}_x psi _x overline{psi}_y psi _y}{p , p'}
$$
end{document}
The kind of effect I would like to achieve with this bracket is

The reason why I would like to use this package physics is, it is the only package I know that would nicely adjust the height of the angled bracket as well as the vertical lines in Dirac bracket, so I would like to stay with this package.
The problem with drawing the Wick contractions is, neither simplewick nor simpler-wick would work, so I am wondering if there is really a solution.
Also, I know it is always possible to do anything with tikz and that is something I could do, but I would appreciate if someone could offer a neater solution.
brackets
add a comment |
up vote
1
down vote
favorite
So I would like to be able to draw Wick contraction with Dirac bracket, the Dirac bracket is produced with package physics, and the mwe is
documentclass{article}
usepackage{physics}
begin{document}
$$
mathcal{M}_{hat{s}} sim mel**{k , k'}{overline{psi}_x psi _x overline{psi}_y psi _y}{p , p'}
$$
end{document}
The kind of effect I would like to achieve with this bracket is

The reason why I would like to use this package physics is, it is the only package I know that would nicely adjust the height of the angled bracket as well as the vertical lines in Dirac bracket, so I would like to stay with this package.
The problem with drawing the Wick contractions is, neither simplewick nor simpler-wick would work, so I am wondering if there is really a solution.
Also, I know it is always possible to do anything with tikz and that is something I could do, but I would appreciate if someone could offer a neater solution.
brackets
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
So I would like to be able to draw Wick contraction with Dirac bracket, the Dirac bracket is produced with package physics, and the mwe is
documentclass{article}
usepackage{physics}
begin{document}
$$
mathcal{M}_{hat{s}} sim mel**{k , k'}{overline{psi}_x psi _x overline{psi}_y psi _y}{p , p'}
$$
end{document}
The kind of effect I would like to achieve with this bracket is

The reason why I would like to use this package physics is, it is the only package I know that would nicely adjust the height of the angled bracket as well as the vertical lines in Dirac bracket, so I would like to stay with this package.
The problem with drawing the Wick contractions is, neither simplewick nor simpler-wick would work, so I am wondering if there is really a solution.
Also, I know it is always possible to do anything with tikz and that is something I could do, but I would appreciate if someone could offer a neater solution.
brackets
So I would like to be able to draw Wick contraction with Dirac bracket, the Dirac bracket is produced with package physics, and the mwe is
documentclass{article}
usepackage{physics}
begin{document}
$$
mathcal{M}_{hat{s}} sim mel**{k , k'}{overline{psi}_x psi _x overline{psi}_y psi _y}{p , p'}
$$
end{document}
The kind of effect I would like to achieve with this bracket is

The reason why I would like to use this package physics is, it is the only package I know that would nicely adjust the height of the angled bracket as well as the vertical lines in Dirac bracket, so I would like to stay with this package.
The problem with drawing the Wick contractions is, neither simplewick nor simpler-wick would work, so I am wondering if there is really a solution.
Also, I know it is always possible to do anything with tikz and that is something I could do, but I would appreciate if someone could offer a neater solution.
brackets
brackets
asked Nov 18 at 21:32
zyy
628612
628612
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
3
down vote
A solution with pstricks . I also defined a Dirac braket with DeclarePairedDelimiter from mathtools:
documentclass[svgnames]{article}
usepackage{mathtools}
usepackage{pst-node, auto-pst-pdf}
DeclarePairedDelimiterXDirbraket[3]{langle}{rangle}%
{#1,delimsizevert,mathopen{}#2,delimsizevert,mathopen{}#3}
begin{document}
begin{postscript}
[
mathcal{M}_{hat{s}} sim Dirbraket*{rnode{k}{k} , rnode{k1}{k'}}{rnode{opx}{overline{psi}_x rnode{psx}{psi_x}} rnode{opy}{overline{psi}_y} rnode{psy}{psi_y}}{rnode{p}{vphantom{k} p} , rnode{p1}{p'}}
]
psset{angle=90, linewidth=0.5pt, linecolor=IndianRed, nodesep=2pt, arm=3mm, linejoin=1}
ncbar[offsetB=-8pt]{k}{opx}
ncbar[arm=2mm]{k1}{psy}
ncbar[offsetA=2pt]{opy}{p1}
ncbar[offsetA=1pt, arm=4.5mm]{psx}{p}
end{postscript}
end{document}

Perfect work. I like very much. (+1)
– Sebastiano
Nov 18 at 23:17
add a comment |
up vote
2
down vote
langle and rangle will scale and work with simpler-wick:
documentclass{article}
usepackage{simpler-wick}
begin{document}
[
mathcal{M}_{hat{s}} sim
langle
wick{
c1 k, c2 k'
vert
overline{c1 psi}_x psi_x overline{psi}_y c2 psi_y
vert
p, p'
}
rangle
]
end{document}

add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
A solution with pstricks . I also defined a Dirac braket with DeclarePairedDelimiter from mathtools:
documentclass[svgnames]{article}
usepackage{mathtools}
usepackage{pst-node, auto-pst-pdf}
DeclarePairedDelimiterXDirbraket[3]{langle}{rangle}%
{#1,delimsizevert,mathopen{}#2,delimsizevert,mathopen{}#3}
begin{document}
begin{postscript}
[
mathcal{M}_{hat{s}} sim Dirbraket*{rnode{k}{k} , rnode{k1}{k'}}{rnode{opx}{overline{psi}_x rnode{psx}{psi_x}} rnode{opy}{overline{psi}_y} rnode{psy}{psi_y}}{rnode{p}{vphantom{k} p} , rnode{p1}{p'}}
]
psset{angle=90, linewidth=0.5pt, linecolor=IndianRed, nodesep=2pt, arm=3mm, linejoin=1}
ncbar[offsetB=-8pt]{k}{opx}
ncbar[arm=2mm]{k1}{psy}
ncbar[offsetA=2pt]{opy}{p1}
ncbar[offsetA=1pt, arm=4.5mm]{psx}{p}
end{postscript}
end{document}

Perfect work. I like very much. (+1)
– Sebastiano
Nov 18 at 23:17
add a comment |
up vote
3
down vote
A solution with pstricks . I also defined a Dirac braket with DeclarePairedDelimiter from mathtools:
documentclass[svgnames]{article}
usepackage{mathtools}
usepackage{pst-node, auto-pst-pdf}
DeclarePairedDelimiterXDirbraket[3]{langle}{rangle}%
{#1,delimsizevert,mathopen{}#2,delimsizevert,mathopen{}#3}
begin{document}
begin{postscript}
[
mathcal{M}_{hat{s}} sim Dirbraket*{rnode{k}{k} , rnode{k1}{k'}}{rnode{opx}{overline{psi}_x rnode{psx}{psi_x}} rnode{opy}{overline{psi}_y} rnode{psy}{psi_y}}{rnode{p}{vphantom{k} p} , rnode{p1}{p'}}
]
psset{angle=90, linewidth=0.5pt, linecolor=IndianRed, nodesep=2pt, arm=3mm, linejoin=1}
ncbar[offsetB=-8pt]{k}{opx}
ncbar[arm=2mm]{k1}{psy}
ncbar[offsetA=2pt]{opy}{p1}
ncbar[offsetA=1pt, arm=4.5mm]{psx}{p}
end{postscript}
end{document}

Perfect work. I like very much. (+1)
– Sebastiano
Nov 18 at 23:17
add a comment |
up vote
3
down vote
up vote
3
down vote
A solution with pstricks . I also defined a Dirac braket with DeclarePairedDelimiter from mathtools:
documentclass[svgnames]{article}
usepackage{mathtools}
usepackage{pst-node, auto-pst-pdf}
DeclarePairedDelimiterXDirbraket[3]{langle}{rangle}%
{#1,delimsizevert,mathopen{}#2,delimsizevert,mathopen{}#3}
begin{document}
begin{postscript}
[
mathcal{M}_{hat{s}} sim Dirbraket*{rnode{k}{k} , rnode{k1}{k'}}{rnode{opx}{overline{psi}_x rnode{psx}{psi_x}} rnode{opy}{overline{psi}_y} rnode{psy}{psi_y}}{rnode{p}{vphantom{k} p} , rnode{p1}{p'}}
]
psset{angle=90, linewidth=0.5pt, linecolor=IndianRed, nodesep=2pt, arm=3mm, linejoin=1}
ncbar[offsetB=-8pt]{k}{opx}
ncbar[arm=2mm]{k1}{psy}
ncbar[offsetA=2pt]{opy}{p1}
ncbar[offsetA=1pt, arm=4.5mm]{psx}{p}
end{postscript}
end{document}

A solution with pstricks . I also defined a Dirac braket with DeclarePairedDelimiter from mathtools:
documentclass[svgnames]{article}
usepackage{mathtools}
usepackage{pst-node, auto-pst-pdf}
DeclarePairedDelimiterXDirbraket[3]{langle}{rangle}%
{#1,delimsizevert,mathopen{}#2,delimsizevert,mathopen{}#3}
begin{document}
begin{postscript}
[
mathcal{M}_{hat{s}} sim Dirbraket*{rnode{k}{k} , rnode{k1}{k'}}{rnode{opx}{overline{psi}_x rnode{psx}{psi_x}} rnode{opy}{overline{psi}_y} rnode{psy}{psi_y}}{rnode{p}{vphantom{k} p} , rnode{p1}{p'}}
]
psset{angle=90, linewidth=0.5pt, linecolor=IndianRed, nodesep=2pt, arm=3mm, linejoin=1}
ncbar[offsetB=-8pt]{k}{opx}
ncbar[arm=2mm]{k1}{psy}
ncbar[offsetA=2pt]{opy}{p1}
ncbar[offsetA=1pt, arm=4.5mm]{psx}{p}
end{postscript}
end{document}

answered Nov 18 at 23:00
Bernard
162k767192
162k767192
Perfect work. I like very much. (+1)
– Sebastiano
Nov 18 at 23:17
add a comment |
Perfect work. I like very much. (+1)
– Sebastiano
Nov 18 at 23:17
Perfect work. I like very much. (+1)
– Sebastiano
Nov 18 at 23:17
Perfect work. I like very much. (+1)
– Sebastiano
Nov 18 at 23:17
add a comment |
up vote
2
down vote
langle and rangle will scale and work with simpler-wick:
documentclass{article}
usepackage{simpler-wick}
begin{document}
[
mathcal{M}_{hat{s}} sim
langle
wick{
c1 k, c2 k'
vert
overline{c1 psi}_x psi_x overline{psi}_y c2 psi_y
vert
p, p'
}
rangle
]
end{document}

add a comment |
up vote
2
down vote
langle and rangle will scale and work with simpler-wick:
documentclass{article}
usepackage{simpler-wick}
begin{document}
[
mathcal{M}_{hat{s}} sim
langle
wick{
c1 k, c2 k'
vert
overline{c1 psi}_x psi_x overline{psi}_y c2 psi_y
vert
p, p'
}
rangle
]
end{document}

add a comment |
up vote
2
down vote
up vote
2
down vote
langle and rangle will scale and work with simpler-wick:
documentclass{article}
usepackage{simpler-wick}
begin{document}
[
mathcal{M}_{hat{s}} sim
langle
wick{
c1 k, c2 k'
vert
overline{c1 psi}_x psi_x overline{psi}_y c2 psi_y
vert
p, p'
}
rangle
]
end{document}

langle and rangle will scale and work with simpler-wick:
documentclass{article}
usepackage{simpler-wick}
begin{document}
[
mathcal{M}_{hat{s}} sim
langle
wick{
c1 k, c2 k'
vert
overline{c1 psi}_x psi_x overline{psi}_y c2 psi_y
vert
p, p'
}
rangle
]
end{document}

answered Nov 18 at 22:40
daniel
3209
3209
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f460657%2fhow-do-i-do-wick-contraction-with-dirac-bracket%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown