Closed Herutriana44 closed 5 months ago
Hi @Herutriana44, could you send me the full code and data you use for this? TheQiskitMachineLearningError: 'Sampler job failed.'
error is generic and doesn't tell me much about your error.
bin_string = "0110"
- a string of numbers needs to convert to -> bin_array = np.array([0, 1, 1,0 ], dtype=int)
- an array of 0s and 1s. If you input the str, byte (binary) or the binary numbers not split up (as in bin_int = 0110
which is just the number 110) then the network won't understand the input data, though I think this would likely throw a different error.Those are my immediate intuitions but I can't confirm anything without testing your code myself.
System Requirements
Error
when i using binary number list(0,1) as feature, i got this error
but, when i was change feature from binary list(every list, has 30 values in integer) to integer list(has 2 values in integer). in bottom, my dataset, my plan i use dna binary as feature(i've changed to list binary) but i got error. but if i use 0 and 1 as feature(this columns are count 0 or 1 in string dna binary), i don't get this error.
in bottom, vqc code for dna binary
in bottom, vqc code for 0 and 1 column
any idea for this error?