Skip to content

Commit

Permalink
Create quantum_entanglement_ interface.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Jul 17, 2024
1 parent ab341b0 commit ecdbc8e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/interfaces/quantum_entanglement_ interface.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import quantum_entanglement

class QuantumEntanglementInterface(InterfaceBase):
def __init__(self, quantum_entanglement_system):
self.quantum_entanglement_system = quantum_entanglement_system

def entangle_particles(self, particles):
self.quantum_entanglement_system.entangle_particles(particles)

def measure_entanglement(self):
return self.quantum_entanglement_system.measure_entanglement()

0 comments on commit ecdbc8e

Please sign in to comment.