Orion Martin

Results 97 comments of Orion Martin

Where is `cirq.mixedsimulator` defined/documented? I wasn't able to find it in my local clone of Cirq. Assuming you're trying to do mixed-state simulation though, `cirq.DensityMatrixSimulator()` should work; note however that...

Ah, that checks out. Yes, `cirq.DensityMatrixSimulator()` will give the behavior you need and should have similar performance to `cirq.mixedsimulator`; both use the density matrix representation for quantum states. I'll keep...

Much of the code in #248 is also generated from a script, which we should also include in the repo.

In the pre-release version, we have a `QSimOptions` dataclass to replace the {string: value} dict: https://github.com/quantumlib/qsim/blob/d15f5f86bdf6e2d5ff1ea5855add6820dcddca94/qsimcirq/qsim_simulator.py#L121-L122 This class provides clearer option names and only accepts valid options, so it should...

I'll assume based on the logs that you're doing this on a Linux machine. With that being the case, there are a couple of possible issues you could check for:...

It's also possible that you need a newer C++ compiler version; for example, GCC versions older than 5.0 do not support C++14, and [C++14 only became the default after the...

`This file requires compiler and library support for the ISO C++ 2011 standard` is a pretty solid indicator that the CXX compiler nvcc is using doesn't support C++11 behavior. It's...

To clarify: the `Makefile`s and the CMake pipeline are two distinct paths for building qsim. Running `pip install .` triggers the CMake pipeline, so any changes you make to `Makefile`s...

> So, in that case, would the only solution for me be updating GNU? That's likely going to be the fastest workaround, unless you're familiar with CMake and are interested...

Apologies for the long silence on this. The documentation I can find on [CMAKE_CUDA_ARCHITECTURES](https://cmake.org/cmake/help/latest/variable/CMAKE_CUDA_ARCHITECTURES.html) suggests that it was introduced in CMake v3.18, and prior to that version it was not...