Tohle by mohlo byt zajimave...
GitHub - tensorflow/quantum: Hybrid Quantum-Classical Machine Learning in TensorFlow
https://github.com/tensorflow/quantum
ROLAND:
Asi bych zacal tady:
Quantum programming - Wikipedia
https://en.wikipedia.org/wiki/Quantum_programming
Kazdy pes, jina ves... asi neni moc standardu, kterym by nejaka kvantova pocitadla podlehala...
Existujou najeky simulatory kvantovyho pocitace na legacy hardware... ale abych odpovedel na otazku...
GitHub - quantumlib/Cirq: A python framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.
https://github.com/quantumlib/Cirq
import cirq
# Pick a qubit.
qubit = cirq.GridQubit(0, 0)
# Create a circuit
circuit = cirq.Circuit(
cirq.X(qubit)**0.5, # Square root of NOT.
cirq.measure(qubit, key='m') # Measurement.
)
print("Circuit:")
print(circuit)
# Simulate the circuit several times.
simulator = cirq.Simulator()
result = simulator.run(circuit, repetitions=20)
print("Results:")
print(result)
Example output:
Circuit:
(0, 0): ───X^0.5───M('m')───
Results:
m=11000111111011001000
Umel by to nekdo interpretovat?
Ja to chapu tak, ze clovek vytvori otazku:
Jaka je mozcnina nuly....
A 20-tkrat (v tomto prikladu) zmeri polarizci (?) qubitu
a asi podle cetnosi by mohl odhadnou, ze je to 0...
Sorry za nepresnosti, fakt o tom nic moc nevim (a o to vice bych se chtel dozvedet)...