# Questions tagged [quantum-computing]

Questions about simulation of quantum circuits and quantum algorithms in Mathematica.

36 questions
Filter by
Sorted by
Tagged with
52 views
+50

• 229
35 views

### Resetting rules for non comutative multiply

Im currently working on a project that intends to achieve multiple task the first if which rewrite a bra-ket notated triplet tensor product state such as the w state in terms of the pauli matrices. i,...
74 views

### Confusion in Eigenvalue and eigenfunction distribution using NDEigensystem [duplicate]

I have been using NDEigensystem to solve the Schrodinger equation for different potentials. However, whenever the potential has its minimum in the negative y-axis, ...
• 2,446
37 views

### Simulation of Quantum pseudo-telepathy

I would like to mathematically simulate Quantum pseudo-telepathy on The magic square game from Wikipedia. In section Pseudo-telepathic strategies we can read: The trick is for Alice and Bob to share ...
• 18.9k
349 views

### Decomposing Hamiltonian in terms of Pauli strings

Does anyone know of a native Mathematica function or a package that allows one to decompose an arbitrary Hamiltonian into Pauli strings? There are a few packages for Python that do this (e.g., one ...
182 views

### How to find complete QuantumOperator() Matrix

I am defining a quantum operator as X1 = QuantumOperator["PauliX", {3}] This operator is expected to act on qubit 3 and so supposed to be 8x8 matrix. But ...
1 vote
241 views

### How to define momentum operator for use with creation and annihilation operators in quantum mechanics

I am having trouble writing the momentum operator in the differential form to complete a piece of code shown here so that I can show a commutator [P,Q] = I . Here is what I have done so far, and I ...
• 165
64 views

### QuantumFramework: Error message when calculating a CircuitOperator

I am running the following package and code: ...
• 221
115 views

### Constructing NxN tridiagonal block diagonal matrix with N is a variable [closed]

Hi please can someone help me writing a program of generating a tridiagonal block matrix with dimension of NxN where N is a variable can be 50, 100, 200, 300...etc , Well I don't know how I'm a ...
• 117
156 views

### Calculating power series of quantum operators on kets

I am using the "Quantum" add-on package to perform some quantum mechanical calculations using SU(1,1) generators. The code that I've developed reads ...
• 1,043
49 views

### How to export integration values to a data file? [closed]

I'm calculating quantum mechanical expectation value for a very high order truncation value. But due to low ram, it gets hung each time. So I am trying to write those data to a .dat file into the HDD ...
• 2,446
192 views

### Defining a non-commutative algebra

I'm new to Mathematica, and I'm trying to learn the ropes. I'm trying to write a little boson algebra engine, with basic useful functions such as non-commutative algebra, normal-ordering and vacuum ...
• 21
1k views

### Where is the QuantumComputing package?

Where is the QuantumComputing package? https://m.youtube.com/watch?v=wHnfWuS0C08
• 9,566
3k views

### Is there a way to do Quantum Computing in Mathematica notebook?

I saw 2 efforts in that direction: WSS17 and WSS16, but I am not sure if there is something in the latest Mathematica that actually allows users to simulate quantum gates. Can anyone please point me ...
• 599