Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/quantum-machine-learning-python
/ QuantumKmeans.py
File
QuantumKmeans.py
Chapter_5/listing5_4/QuantumKmeans.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
cirq
2
from
swap_test
import
SwapTest
3
import
pandas
as
pd
4
import
math
Callers
nothing calls this directly
Calls
2
QuantumKMeans
Class · 0.85
run
Method · 0.45
Tested by
no test coverage detected