The Wolfram quantum framework handles many different quantum objects, including states, operators, channels, measurements, circuits, and more. It offers specialized functions for various computations like quantum evolution, entanglement monotones, partial tracing, Wigner or Weyl transformations, stabilizer formalism, and additional capabilities. Each functionality incorporates common named operations, such as Schwinger basis, GHZ state, Fourier operator, Grover circuit, and others. Perform computations seamlessly with the Wolfram quantum framework using the standard Wolfram kernel, such as the usual evaluation of codes in Mathematica. Alternatively, leverage the framework to send jobs to quantum processing units via service connections.
Create a quantum circuit composed of Pauli-X on qubits 1 and 2, Hadamard on qubit 1, CNOT with qubit 1 as the controlled and qubit 2 as the target, rotation around the z-axis by a symbolic angle ϕ on qubit 1, rotation around the z-axis by a symbolic angle θ on qubit 2, Hadamard on qubits 1 and 2, and finally, measurement in the computational basis on qubits 1 and 2.
Generate the multivariate distribution of measurement results based on the assumption that the angles are real:
Calculate the quantum correlation P00-P10-P01+P11
Calculate the state before measurements and show it in the Dirac notation:
Calculate the entanglement monotone of that state:
Add a bit-flip channel with a probability p only on the qubit-2:
Calculate the corresponding density matrix of the final quantum state of this circuit:
Create the quantum phase estimation circuit for a phase operator with a given angle and a given number of qubits:
Calculate the outcome of circuit:
Calculate the corresponding probabilities:
Set time and other variables of a Hamiltonian (Rabi drive and detuning):
Create a Hamiltonian operator as 
Evolve an initial quantum state using the Hamiltonian:
Plot the measurement probabilities in the different basis:
Plot the Bloch vector evolution:
Define Lindblad operators (inducing jump from 1 to 0, and vice versa) with given rates:
Evolve the same initial state using the Lindblad equation:
Plot the measurement probabilities in the computational basis:
Plot the Bloch vector evolution vs the Hamiltonian one: