MCPcopy Create free account

hub / github.com/Apress/quantum-machine-learning-python / types & classes

Types & classes22 in github.com/Apress/quantum-machine-learning-python

↓ 4 callersClassQFT
Quantum Fourier Transform Builds the QFT circuit iteratively
Chapter_4/listing4_1/quantum_fourier_transform.py:12
↓ 3 callersClassQuantumCircuit
The class implements a simple Quantum Block
Chapter_6/listing6_1/QCNN.py:17
↓ 3 callersClassSwapTest
Chapter_5/listing5_2/swap_test.py:7
↓ 2 callersClassEigenValueInversion
Rotates the ancilla bit around the Y axis by an angle theta = 2* sin inv(C/eigen value) corresponding to each Eigen value state basis |e
Chapter_5/listing5_1/EigenValueInversion.py:5
↓ 2 callersClassHamiltonianSimulation
This class simulates the Hamiltonian evolution for a Single qubit. For a Hamiltonian given by H the Unitary Operator simulated for time t
Chapter_5/listing5_1/hamiltonian_simulator.py:5
↓ 2 callersClassQuantumPhaseEstimation
Chapter_5/listing5_1/QuantumPhaseEstimation.py:29
↓ 1 callersClassControlledUnitary
Chapter_5/listing5_1/QuantumPhaseEstimation.py:6
↓ 1 callersClassFactoring
Find the factorization of number N = p*q where p and q are prime to each other
Chapter_4/listing4_4/factoring.py:8
↓ 1 callersClassGraphQuantumRandomWalk
Chapter_7/listing7_4/quantum_random_walk.py:12
↓ 1 callersClassHHL
Chapter_5/listing5_1/HHL.py:9
↓ 1 callersClassPeriodFinding
Chapter_4/listing4_3/period_finding.py:23
↓ 1 callersClassQAOA
Chapter_7/listing7_3/QAOA.py:9
↓ 1 callersClassQCNNet
Chapter_6/listing6_1/QCNN.py:94
↓ 1 callersClassQSVM_routine
Chapter_5/listing5_5/qsvm_new.py:13
↓ 1 callersClassQuantumKMeans
Chapter_5/listing5_4/QuantumKmeans.py:16
↓ 1 callersClassQuantumLayer
Chapter_6/listing6_2/tfq_mnist.py:118
↓ 1 callersClassQuantumLayer
Hybrid quantum - classical layer definition
Chapter_6/listing6_1/QCNN.py:82
↓ 1 callersClassQuantumMaxCutClustering
Chapter_7/listing7_2/Max_cut_clustering.py:8
↓ 1 callersClasseuclidean_distance
Chapter_5/listing5_3/quantum_eucledian.py:8
↓ 1 callersClassquantum_phase_estimation
Chapter_4/listing4_2/quantum_phase_estimation.py:5
ClassEigenValueRotation
EigenValueRotation rotates the an
Chapter_5/listing5_1/EigenRotation.py:6
ClassQuantumFunction
Hybrid quantum - classical function definition
Chapter_6/listing6_1/QCNN.py:47