Wolfram Language Example Repository
Ready-to-use examples of Wolfram Language
Wolfram Language examples for quantum states, gates and circuits
Construct the Bernstein–Vazirani quantum circuit for a given secret string
Construct Grover's circuit to find solutions of a Boolean function
Construct and work with a graph-state circuit based on a graph
Generate a QFT circuit for any number of qubits
Construct the quantum circuit to estimate the eigenphase (or phase) of a given eigenvector of a unitary operator
Construct a multiplexer circuit, also called a uniformly controlled gate
Construct a circuit for the Suzuki-Trotter decomposition of an exponential product of operators
Evolve a quantum state in time, numerically
Compute the effect of an incoherent bit-flip noise channel on the expected value of a quantum operator
Solving the quantum Liouvillian master equation
Model the CHSH game using quantum entanglement
Estimate the parameters of the quantum channels modeling a noisy environment with optimization functions
Implement a quantum lock with qubits and qudits for ASCII character passwords
Numerically solve a system of linear equations using a quantum algorithm
Implement a widely used 2 qubit gate with an alternative approach to quantum computation
Compare quantum natural gradient descent and regular gradient descent
Optimize a variational quantum circuit using quantum natural gradient descent through block diagonalization
Differentiate qubit gates using the exact and approximate stochastic parameter–shift rule
Optimize a variational quantum circuit using quantum natural gradient descent through VQE
Perform three equatorial measurements to a linear cluster state to obtain a general one qubit transformation
Determine if [sub]systems are entangled and quantify the entanglement
Visualize quantum circuits with custom labels and layout
Plot the Bloch vector or diagrammatic representation of a quantum state
Visualize measurement results
Interact with Amazon Braket through an AWS service connection
Engage with multiple APIs and dispatch quantum tasks