Closed zaqqwerty closed 2 years ago
Patch and test tracing add for QuantumCircuits.
Resolves #128. Inside tfq.from_tensor, .numpy() is called (ref #129), so tracing did not work. This PR changes the signature of QuantumCircuit initialization to avoid calling tfq.from_tensor during addition.
tfq.from_tensor
.numpy()
Patch and test tracing add for QuantumCircuits.
Resolves #128. Inside
tfq.from_tensor
,.numpy()
is called (ref #129), so tracing did not work. This PR changes the signature of QuantumCircuit initialization to avoid callingtfq.from_tensor
during addition.