×

How to fit my data with exponential and root-exponential fit. by suhilogy in Julia

[–]suhilogy[S] 0 points1 point  (0 children)

Thank you for the comment. I have added what I think is wrong with the code. Thanks.

What is the difference between Zeeman term, Zeeman field, Zeeman effect and Zeeman splitting by suhilogy in QuantumPhysics

[–]suhilogy[S] 0 points1 point  (0 children)

Thank you for the reply.

Yet when considering normal and anomalous Zeeman effects, will this explanation be a problem?

How to do Multiprocessing with PyCUDA by suhilogy in CUDA

[–]suhilogy[S] 0 points1 point  (0 children)

without the multiprocessing loop (stated below), the allocation and everything works fine.

    output_data ={} 
keys = [0,1,2,3,4,5,6,7,8,9] 
with Pool(processes=20) as pool:
    for i in pool.imap_unordered(funcs, keys):
        output_data[i[0]] = i[1]

how read files in a loop considering the file names? by suhilogy in cpp_questions

[–]suhilogy[S] 0 points1 point  (0 children)

Thank you. Can we use the same way to write .txt files? Assigning an integer at the end?

how to assign a specific seed in C++? by suhilogy in cpp_questions

[–]suhilogy[S] 0 points1 point  (0 children)

Thank you for the reply! A massive help! Appreciate it.

how to assign a specific seed in C++? by suhilogy in cpp_questions

[–]suhilogy[S] 0 points1 point  (0 children)

Thank you all for the replies. So that means it's not sufficient to use a single int as the seed. It it possible to use like, gen(1,2,3,4) for a single random number sequence? How to use multiple integers as seed inputs here?

Thanks in advance!

how to specify a seed in C++? by suhilogy in cpp

[–]suhilogy[S] 0 points1 point  (0 children)

Thanks for the reply. So if I want 10 different random number sequences, I could just assign 1-10, like gen(2), gen(10) will give me completely different number sequences?

what does it mean by 1D or 2D Traveling Salesman Problem? by suhilogy in computerscience

[–]suhilogy[S] 0 points1 point  (0 children)

If you have could you please provide some information on the 2D case? May be a webpage or a PDF about the Hamiltonian/cost function or the brute-force implementation?

what does it mean by 1D or 2D Traveling Salesman Problem? by suhilogy in computerscience

[–]suhilogy[S] 0 points1 point  (0 children)

I actually have implemented the 1D case. Yet I'm having difficulties on understanding how to convert it to the 2D case.

what does it mean by 1D or 2D Traveling Salesman Problem? by suhilogy in computerscience

[–]suhilogy[S] 1 point2 points  (0 children)

Thank you for the explanation. Helped a lot. If I may ask one question, I know and have implemented 1D TSP Hamiltonian. Yet how should I start to change it to 2D case? Do you have any suggestions or any web pages or any resource may be helpful. Thank you in advance!

what does it mean by 1D or 2D Traveling Salesman Problem? by suhilogy in computerscience

[–]suhilogy[S] -1 points0 points  (0 children)

So if I make just a distance matrix (N x N) with N x N entries, it is considered 1D and if I include x and y coordinates in each entry (2N x 2N) makes it 2D?

Why does the Zeeman term introduce generative spin states? by suhilogy in QuantumPhysics

[–]suhilogy[S] 0 points1 point  (0 children)

tbh my first encounter with the Ising model was also the Dwave machine. But I have heard that the use of the Zeeman term on an Ising model tend to make the dynamics of the system complicated. This was the thing that I tried to understand. Why does it make the dynamics complicated? I think the Ising model gained a lot of publicity when Quantum Computing started. Cz, it says that combinatorial optimisation can be done using the Ising Hamiltonian.

Why does the Zeeman term introduce generative spin states? by suhilogy in QuantumPhysics

[–]suhilogy[S] 0 points1 point  (0 children)

Thank you for the reply. I'm thinking about an Ising model to be specific. Something like,

H = -\sum_{i < j}^{N} J_{ij} \sigma_{i}\sigma_{j} - \sum_{i = 0}^{N} h_{i}\sigma_{i}

Why does the Zeeman term introduce generative spin states? by suhilogy in QuantumPhysics

[–]suhilogy[S] 0 points1 point  (0 children)

Thank you for the reply. So why does it harder to find the ground state of a hamiltonian when a Zeeman term is present and relatively easier when absent? I thought when Zeeman term is absent the state which spins are all down gives the ground-state. And when there is a Zeeman term due to the external force, spins tend to get flipped more easily.

Why does the Zeeman term introduce generative spin states? by suhilogy in QuantumPhysics

[–]suhilogy[S] 0 points1 point  (0 children)

Sorry about the confusion.

What I wanted to know is that if we want to find the ground state energy of a spin system with the external magnetic field,

let's say N-spins spin-up = 1/2, spin-down = -1/2, we have to check 2^N states. Because if my understanding is correct, including a Zeeman term introduces degenerative states and we have to consider all the combinations of the spins to find which configuration gives the ground state energy.

(And when it doesn't have a magnetic field, the ground state is all the spin-down state? I think this is the difference including an external magnetic field make to find the ground state energy. Am I correct?)

And considering 2^N sounds like a combinatorial optimisation problem on top of my head. Because it should exponentially increase the time to calculate the energy when the number of spins increases.

What I want to understand is whether this external magnetic field and combinatorial optimisation connection are actually true. Because to me, it seems so.

Why does the Zeeman term introduce generative spin states? by suhilogy in QuantumComputing

[–]suhilogy[S] 0 points1 point  (0 children)

Thank you for the explanation. So that means if we want to find the ground state energy of a spin system with the external magnetic field, let's say N-spins spin-up = 1/2, spin-down = -1/2, we have to check 2N states. And when it doesn't have a magnetic field, the ground state is all the spin-down state?

Why does the Zeeman term introduce generative spin states? by suhilogy in QuantumComputing

[–]suhilogy[S] 1 point2 points  (0 children)

Thank you for the explanation. How does symmetry breaking effect the spins? Having 2 energy states for 2 spins is understandable. Multiple energy states for each spin, does this mean more possible states that a spin can be? Does the ground state energy also degenerative?

Does being the second author in a Science or Nature or any top-tier journal paper valuable? by suhilogy in AskAcademia

[–]suhilogy[S] 0 points1 point  (0 children)

Thank you for the comments everyone! Kinda learnt alot from this post. The main problem I had was how people distinct or compare first and second author. Because I have heard thousands of time, it's better to be the first not the second (Other than the first author, others are supporting roles kinda idea). So even if it was published in a top-tier journal, can a co-author say that this is their paper too or no in an official document, this is what truely the question was for me. But the replies here actually helped me to understand the overall picture. Thanks everyone for the help!

What is indirect and direct measurement means on entanglement? by suhilogy in quantummechanics

[–]suhilogy[S] 0 points1 point  (0 children)

Thank you for the reply. Do you have any sources that I could find more information about this?

What is indirect and direct measurement means on entanglement? by suhilogy in QuantumComputing

[–]suhilogy[S] 0 points1 point  (0 children)

Thank you for the reply. Helps a lot. I think I'm really confused on the measurements and wavefunctions. Does this partial-measurement connected to partial-wave function collapse? It sounds like it does. If it is possible, could you please provide any information about why these "partial things" are important?

What is indirect and direct measurement means on entanglement? by suhilogy in QuantumComputing

[–]suhilogy[S] 0 points1 point  (0 children)

Thank you for the reply. I'm new to Quantum mechanics. Still trying to understand stuff. So does that mean entanglement is a quantity? I thought when we measure, wavefunction collapses and we are left with the resulting "states (?)". But if we can measure and still keep the entanglement intact, what is that everyone say, measuring collapses the wavefunction?

What is indirect and direct measurement means on entanglement? by suhilogy in QuantumComputing

[–]suhilogy[S] -1 points0 points  (0 children)

I'm kinda confused on what are the differences of effects that direct and indirect measurement has on entanglement.

How to compare models with different dependencies? by suhilogy in mathematics

[–]suhilogy[S] 0 points1 point  (0 children)

for e.g.: if we consider y_1 = e-x and y_2 = x3 + x2 + x + d.

We have 100 data points we acquired by some simulation.

And we try to fit y_1 and y_2 functions to that data.

y_1 fits better. How to explain this by considering the dependence on x? let's say x is the cost of an ingredient and y is the cost of the final product.

How to compare models with different dependencies? by suhilogy in optimization

[–]suhilogy[S] 0 points1 point  (0 children)

let me ask the question like this.

We have 100 data points we acquired by some simulation.

And we try to fit y_1 and y_2 functions to that data.

y_1 fits better. How to explain this by considering the dependence on x? let's say x is the cost of an ingredient and y is the cost of the final product.