Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

Q3mini

Guides

  • Fermionic Quantum Computation
  • Q3: Symbolic Quantum Simulation
  • Quantum Information Systems
  • Quantum Many-Body Systems
  • Quantum Spin Systems

Tech Notes

  • About Q3
  • Q3: Quick Start
  • Quantum Fourier Transform
  • Quantum Information Systems with Q3
  • Quantum Many-Body Systems with Q3
  • Quantum Operations
  • Quantum Spin Systems with Q3
  • Quantum States
  • Quantum Teleportation
  • Quick Quantum Computing with Q3

Symbols

  • Basis
  • Boson
  • Bra
  • CNOT
  • ControlledGate
  • ExpressionFor
  • Fermion
  • Heisenberg
  • Ket
  • Let
  • Majorana
  • Matrix
  • Multiply
  • NambuGreen
  • NambuHermitian
  • NambuMatrix
  • NambuUnitary
  • Pauli
  • Phase
  • QuantumCircuit
  • Qubit
  • Qudit
  • RandomWickCircuitSimulate
  • Rotation
  • Species
  • Spin
  • SWAP
  • WickCircuit
  • WickEntanglementEntropy
  • WickEntropy
  • WickGreenFunction
  • WickJump
  • WickLindbladSolve
  • WickLogarithmicNegativity
  • WickMeasurement
  • WickMonitor
  • WickMutualInformation
  • WickNonunitary
  • WickSimulate
  • WickState
  • WickUnitary

Overviews

  • The Postulates of Quantum Mechanics
  • Quantum Algorithms
  • Quantum Computation: Models
  • Quantum Computation: Overview
  • Quantum Error-Correction Codes
  • Quantum Information Theory
  • Quantum Noise and Decoherence
QuantumMob`Q3mini`
NambuGreen
​
NambuGreen
[{grn,anm}]
represents the matrix of a single-fermion Green's functions in the Nambu space that is characterized by the
n×n
matrix
grn
of normal Green's functions and the
n×n
matrix
anm
of anomalous Green's functions.
​
Details and Options

Examples  
(1)
Basic Examples  
(1)
Set the number of fermion modes.
In[1]:=
$n=5;
Choose a BdG state.
In[2]:=
SeedRandom[354];
In[3]:=
ws=RandomWickState[$n]
Out[3]=
WickState
Modes: 5
Prefactor: 1

Calculate the Green's functions of fermion modes with respect to the above state.
In[4]:=
grn=WickGreenFunction[ws]​​grn//ArrayShort
Out[4]=
NambuGreen
Modes: All
Dimensions: {5,5}

Out[4]=

0.524647
0.0189551-0.0755568
0.0051272+0.0310692
-0.0541591-0.0404266
…
0.0189551+0.0755568
0.336991
-0.0556442+0.0508598
0.0122292+0.0177733
…
0.0051272-0.0310692
-0.0556442-0.0508598
0.253693
0.0701694-0.0199141
…
-0.0541591+0.0404266
0.0122292-0.0177733
0.0701694+0.0199141
0.451871
…
…
…
…
…
…
,
0
0.0621409-0.109436
0.0850157-0.232403
-0.134115-0.217267
…
-0.0621409+0.109436
0
-0.19683-0.123276
0.246385-0.223338
…
-0.0850157+0.232403
0.19683+0.123276
0
-0.156682+0.122313
…
0.134115+0.217267
-0.246385+0.223338
0.156682-0.122313
0
…
…
…
…
…
…

Convert the object into a full matrix form.
In[5]:=
full=Normal[grn];​​ArrayShort[full,"Size"6]
Out[5]//MatrixForm=
0.524647
0.0189551-0.0755568
0.0051272+0.0310692
-0.0541591-0.0404266
-0.0385759-0.00452221
0
…
0.0189551+0.0755568
0.336991
-0.0556442+0.0508598
0.0122292+0.0177733
-0.0999745-0.0848135
-0.0621409+0.109436
…
0.0051272-0.0310692
-0.0556442-0.0508598
0.253693
0.0701694-0.0199141
-0.12919-0.061993
-0.0850157+0.232403
…
-0.0541591+0.0404266
0.0122292-0.0177733
0.0701694+0.0199141
0.451871
-0.0918851+0.111401
0.134115+0.217267
…
-0.0385759+0.00452221
-0.0999745+0.0848135
-0.12919+0.061993
-0.0918851-0.111401
0.219001
-0.0111828-0.306371
…
0
-0.0621409-0.109436
-0.0850157-0.232403
0.134115-0.217267
-0.0111828+0.306371
0.475353
…
…
…
…
…
…
…
…
In[6]:=
Eigenvalues[full]//ArrayShort
Out[6]=
{1,1,1,1,…}
SeeAlso
NambuUnitary
 
▪
NambuHermitian
 
▪
WickGreenFunction
 
▪
NambuMatrix
TechNotes
▪
Majorana Fermions
▪
Quantum Many-Body Systems with Q3
▪
Q3: Quick Start
RelatedGuides
▪
Fermionic Quantum Computation
▪
Quantum Many-Body Systems
▪
Q3: Symbolic Quantum Simulation
RelatedLinks
▪
Mahn-Soo Choi (2022)
, A Quantum Computation Workbook (Springer).
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com