quantools

Last updated:

0 purchases

quantools Image
quantools Images
Add to Cart

Description:

quantools

Quantools is a quantum computation simulation library, which allows you to draw simple quantum circuits and count the outputs.
Features #

Define simple quantum circuits, by using the following Gates: X, Y, Z, H, I, T, S, Tdg, Sdg, CX, CY, CZ, CH, Swap, Toffoli
Run a simulation and count the outputs

Usage #
Define quantum circuits
var qc = QuantumCircuit(3);
qc.x(0);
qc.h(1);
qc.cx(1, 2);
qc.swap(0, 2);
copied to clipboard
Run simulation:
Simulator simulator = Simulator.transpile(qc);
var result = simulator.run(shots: 1000);
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.