├── .cargo └── config.toml ├── .github └── workflows │ ├── criterion.yml │ ├── linter.yml │ └── unit-tests.yml ├── .gitignore ├── .gitmodules ├── .rustfmt.toml ├── Cargo.lock ├── Cargo.toml ├── LICENSE.md ├── README.md ├── animated ├── output │ ├── H.gif │ ├── H0.gif │ ├── H1.gif │ ├── X.gif │ ├── X0.gif │ ├── X1.gif │ ├── Y.gif │ ├── Y0.gif │ ├── Y1.gif │ ├── Z.gif │ ├── Z0.gif │ └── Z1.gif ├── qubits.bat └── qubits.py ├── benches └── performance.rs └── src ├── lib.rs ├── math ├── approx_cmp.rs ├── bits_iter.rs ├── matrix.rs └── mod.rs ├── operator ├── applicable.rs ├── atomic │ ├── dispatch.rs │ ├── h1.rs │ ├── h2.rs │ ├── i_swap.rs │ ├── id.rs │ ├── mod.rs │ ├── rx.rs │ ├── rxx.rs │ ├── ry.rs │ ├── ryy.rs │ ├── rz.rs │ ├── rzz.rs │ ├── s.rs │ ├── sqrt_i_swap.rs │ ├── sqrt_swap.rs │ ├── swap.rs │ ├── t.rs │ ├── u1.rs │ ├── u2.rs │ ├── x.rs │ ├── y.rs │ └── z.rs ├── mod.rs ├── multi │ ├── h.rs │ ├── mod.rs │ └── qft.rs └── single │ ├── mod.rs │ ├── pauli.rs │ ├── rotate.rs │ └── swap.rs ├── qasm ├── ast │ ├── error.rs │ └── mod.rs ├── examples │ ├── source │ │ ├── Deutsch_Algorithm.qasm │ │ ├── W-state.qasm │ │ ├── W3test.qasm │ │ ├── adder.qasm │ │ ├── bigadder.qasm │ │ ├── inverseqft1.qasm │ │ ├── inverseqft2.qasm │ │ ├── ipea_3_pi_8.qasm │ │ ├── iswap.qasm │ │ ├── pea_3_pi_8.qasm │ │ ├── qe_qft_3.qasm │ │ ├── qe_qft_4.qasm │ │ ├── qe_qft_5.qasm │ │ ├── qec.qasm │ │ ├── qelib1.inc │ │ ├── qft.qasm │ │ ├── qpt.qasm │ │ ├── rb.qasm │ │ ├── teleport.qasm │ │ └── teleportv2.qasm │ └── test.qasm ├── int │ ├── error.rs │ ├── ext_op.rs │ ├── gates.rs │ ├── macros.rs │ ├── mod.rs │ └── parse.rs ├── mod.rs └── sym.rs ├── register ├── class.rs ├── mod.rs ├── quant.rs └── virtl.rs └── threads.rs /.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/.cargo/config.toml -------------------------------------------------------------------------------- /.github/workflows/criterion.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/.github/workflows/criterion.yml -------------------------------------------------------------------------------- /.github/workflows/linter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/.github/workflows/linter.yml -------------------------------------------------------------------------------- /.github/workflows/unit-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/.github/workflows/unit-tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/.rustfmt.toml -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/README.md -------------------------------------------------------------------------------- /animated/output/H.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/animated/output/H.gif -------------------------------------------------------------------------------- /animated/output/H0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/animated/output/H0.gif -------------------------------------------------------------------------------- /animated/output/H1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/animated/output/H1.gif -------------------------------------------------------------------------------- /animated/output/X.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/animated/output/X.gif -------------------------------------------------------------------------------- /animated/output/X0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/animated/output/X0.gif -------------------------------------------------------------------------------- /animated/output/X1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/animated/output/X1.gif -------------------------------------------------------------------------------- /animated/output/Y.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/animated/output/Y.gif -------------------------------------------------------------------------------- /animated/output/Y0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/animated/output/Y0.gif -------------------------------------------------------------------------------- /animated/output/Y1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/animated/output/Y1.gif -------------------------------------------------------------------------------- /animated/output/Z.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/animated/output/Z.gif -------------------------------------------------------------------------------- /animated/output/Z0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/animated/output/Z0.gif -------------------------------------------------------------------------------- /animated/output/Z1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/animated/output/Z1.gif -------------------------------------------------------------------------------- /animated/qubits.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/animated/qubits.bat -------------------------------------------------------------------------------- /animated/qubits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/animated/qubits.py -------------------------------------------------------------------------------- /benches/performance.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/benches/performance.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/math/approx_cmp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/math/approx_cmp.rs -------------------------------------------------------------------------------- /src/math/bits_iter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/math/bits_iter.rs -------------------------------------------------------------------------------- /src/math/matrix.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/math/matrix.rs -------------------------------------------------------------------------------- /src/math/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/math/mod.rs -------------------------------------------------------------------------------- /src/operator/applicable.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/applicable.rs -------------------------------------------------------------------------------- /src/operator/atomic/dispatch.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/dispatch.rs -------------------------------------------------------------------------------- /src/operator/atomic/h1.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/h1.rs -------------------------------------------------------------------------------- /src/operator/atomic/h2.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/h2.rs -------------------------------------------------------------------------------- /src/operator/atomic/i_swap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/i_swap.rs -------------------------------------------------------------------------------- /src/operator/atomic/id.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/id.rs -------------------------------------------------------------------------------- /src/operator/atomic/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/mod.rs -------------------------------------------------------------------------------- /src/operator/atomic/rx.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/rx.rs -------------------------------------------------------------------------------- /src/operator/atomic/rxx.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/rxx.rs -------------------------------------------------------------------------------- /src/operator/atomic/ry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/ry.rs -------------------------------------------------------------------------------- /src/operator/atomic/ryy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/ryy.rs -------------------------------------------------------------------------------- /src/operator/atomic/rz.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/rz.rs -------------------------------------------------------------------------------- /src/operator/atomic/rzz.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/rzz.rs -------------------------------------------------------------------------------- /src/operator/atomic/s.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/s.rs -------------------------------------------------------------------------------- /src/operator/atomic/sqrt_i_swap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/sqrt_i_swap.rs -------------------------------------------------------------------------------- /src/operator/atomic/sqrt_swap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/sqrt_swap.rs -------------------------------------------------------------------------------- /src/operator/atomic/swap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/swap.rs -------------------------------------------------------------------------------- /src/operator/atomic/t.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/t.rs -------------------------------------------------------------------------------- /src/operator/atomic/u1.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/u1.rs -------------------------------------------------------------------------------- /src/operator/atomic/u2.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/u2.rs -------------------------------------------------------------------------------- /src/operator/atomic/x.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/x.rs -------------------------------------------------------------------------------- /src/operator/atomic/y.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/y.rs -------------------------------------------------------------------------------- /src/operator/atomic/z.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/atomic/z.rs -------------------------------------------------------------------------------- /src/operator/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/mod.rs -------------------------------------------------------------------------------- /src/operator/multi/h.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/multi/h.rs -------------------------------------------------------------------------------- /src/operator/multi/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/multi/mod.rs -------------------------------------------------------------------------------- /src/operator/multi/qft.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/multi/qft.rs -------------------------------------------------------------------------------- /src/operator/single/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/single/mod.rs -------------------------------------------------------------------------------- /src/operator/single/pauli.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/single/pauli.rs -------------------------------------------------------------------------------- /src/operator/single/rotate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/single/rotate.rs -------------------------------------------------------------------------------- /src/operator/single/swap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/operator/single/swap.rs -------------------------------------------------------------------------------- /src/qasm/ast/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/ast/error.rs -------------------------------------------------------------------------------- /src/qasm/ast/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/ast/mod.rs -------------------------------------------------------------------------------- /src/qasm/examples/source/Deutsch_Algorithm.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/Deutsch_Algorithm.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/W-state.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/W-state.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/W3test.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/W3test.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/adder.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/adder.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/bigadder.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/bigadder.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/inverseqft1.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/inverseqft1.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/inverseqft2.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/inverseqft2.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/ipea_3_pi_8.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/ipea_3_pi_8.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/iswap.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/iswap.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/pea_3_pi_8.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/pea_3_pi_8.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/qe_qft_3.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/qe_qft_3.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/qe_qft_4.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/qe_qft_4.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/qe_qft_5.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/qe_qft_5.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/qec.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/qec.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/qelib1.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/qelib1.inc -------------------------------------------------------------------------------- /src/qasm/examples/source/qft.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/qft.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/qpt.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/qpt.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/rb.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/rb.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/teleport.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/teleport.qasm -------------------------------------------------------------------------------- /src/qasm/examples/source/teleportv2.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/source/teleportv2.qasm -------------------------------------------------------------------------------- /src/qasm/examples/test.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/examples/test.qasm -------------------------------------------------------------------------------- /src/qasm/int/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/int/error.rs -------------------------------------------------------------------------------- /src/qasm/int/ext_op.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/int/ext_op.rs -------------------------------------------------------------------------------- /src/qasm/int/gates.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/int/gates.rs -------------------------------------------------------------------------------- /src/qasm/int/macros.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/int/macros.rs -------------------------------------------------------------------------------- /src/qasm/int/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/int/mod.rs -------------------------------------------------------------------------------- /src/qasm/int/parse.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/int/parse.rs -------------------------------------------------------------------------------- /src/qasm/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/mod.rs -------------------------------------------------------------------------------- /src/qasm/sym.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/qasm/sym.rs -------------------------------------------------------------------------------- /src/register/class.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/register/class.rs -------------------------------------------------------------------------------- /src/register/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/register/mod.rs -------------------------------------------------------------------------------- /src/register/quant.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/register/quant.rs -------------------------------------------------------------------------------- /src/register/virtl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/register/virtl.rs -------------------------------------------------------------------------------- /src/threads.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MucTepDayH16/qvnt/HEAD/src/threads.rs --------------------------------------------------------------------------------