Questions tagged [operators]
Questions about using or composing operators--functional mappings from one state or vector space to another.
283 questions
9
votes
2
answers
702
views
What is the precedence of logical operators in Wolfram Language?
I'm taking the enjoyable (but very high-level) Wolfram U course in Discrete Mathematics. That course gives the logical operator precedence as ...
3
votes
1
answer
170
views
Issue with Applying Derivative Operators in Matrix Multiplication in Mathematica [closed]
I am working on a matrix multiplication problem where I have two matrices, MatA and MatB. ...
1
vote
0
answers
83
views
Constructing operator $E_1 \otimes E_2 \otimes \cdots $
I am working with the Bose-Hubbard model and I want to construct the following operator as described below.
I have $L$ lattice sites where I want to construct this operator $e^{i*\phi*N_{R1}}$ where $...
0
votes
0
answers
34
views
1
vote
1
answer
70
views
How to Compute the Hermitian Conjugate of Non-Commutative Products Symbolically in Mathematica?
I am working on symbolic quantum mechanics calculations in Mathematica, where I need to compute the Hermitian conjugate of expressions involving non-commutative operators. For instance, I have ...
0
votes
0
answers
30
views
How to Expand and Simplify a Complex Hamiltonian in Mathematica?
I am working on a quantum system and need to expand and simplify a Hamiltonian in Mathematica. The Hamiltonian is given as:
$$
H_{I} = \hbar \frac{\chi}{2} a_{1}^{\dagger 2} a_{1}^{2} + \left(i\hbar \...
0
votes
0
answers
80
views
Properties of conjugate transpose
I need to define the properties of conjugate transpose in mathematica:
Properties of Conjugate Transpose:
...
3
votes
2
answers
263
views
Repeated partial derivatives
Big Mathematica novice here, hopefully this isn't too trivial?
I would like to define a function in Mathematica that takes $f$ as an input and produces repeated applications of the operator $\Theta_\...
0
votes
0
answers
123
views
Variable-Size Matrix
How can I let Mathematica tell me that trace(Identity matrix)=n for n by n identity matrix? It's easy for human but what would a Mathematica code be?
A harder task: How can I let Mathematica tell me ...
0
votes
0
answers
40
views
Allowing certain elements in a NCM to commute
I've got a long procedure going on, which starts with an expression, and leads to an end result similar to f2**g**f2**r**d**d**e**f1**q however, some of these ...
0
votes
2
answers
105
views
Problems with defining a R(c)-linear operator
My objective is to define an opeartor op such that for every rational function $f(c)$ of a fixed symbol c, $op(f(c) x)=f(c) op(x)$. What is a good way to implement ...
0
votes
0
answers
94
views
Clebsch–Gordan coefficient calculation for L-S basis in system of three particles
I am trying to calculate eq (A3)
...
2
votes
1
answer
95
views
General solution of a differential equation
I'm a beginner in Mathematica and I'm learning about dealing with differential equations but I'm stuck in this problem
What I tried to do is I observed that I have the same differential operator ...
10
votes
1
answer
197
views
List[...] + Association[...], or Association[...] + List[...], when does the order matter?
Values of a list can be added to an association's values like so,
...
0
votes
1
answer
90
views
How to define a composition of operators?
If I define P[x]=D[#,x]& (derivative operator)
How can I define another operator $Q$ such that $Q(f(x))=Pf(x)+a$ (for example)?
Thanks.